diff -r bd89f58e8623 -r 19dab6a68886 src/town_gui.cpp --- a/src/town_gui.cpp Mon Feb 19 20:37:33 2007 +0000 +++ b/src/town_gui.cpp Tue Feb 27 13:26:47 2007 +0000 @@ -457,7 +457,7 @@ if (++n == w->vscroll.cap) break; // max number of towns in 1 window } SetDParam(0, GetWorldPopulation()); - DrawString(3, w->height - 12 + 2, STR_TOWN_POPULATION, 0); + DrawString(3, w->Height() - 12 + 2, STR_TOWN_POPULATION, 0); } } break; @@ -520,6 +520,6 @@ if (w != NULL) { w->vscroll.cap = 16; w->resize.step_height = 10; - w->resize.height = w->height - 10 * 6; // minimum of 10 items in the list, each item 10 high + w->resize.height = w->Height() - 10 * 6; // minimum of 10 items in the list, each item 10 high } }