summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-06 21:20:01 +0000
committerdarkvater <darkvater@openttd.org>2004-09-06 21:20:01 +0000
commit78b64ed1925c99ecc4fe26ffb4969b7001e7e095 (patch)
tree4b59ce1c3dee1ce7974571d40bc52a7526809563 /main_gui.c
parentb7774b2ed3453fac2aa238bfbe9b491a3095a271 (diff)
downloadopenttd-78b64ed1925c99ecc4fe26ffb4969b7001e7e095.tar.xz
(svn r169) -Fix: move around sort-widgets a bit so it looks more natural
-Fix: savegames are sorted with newest date first by default -Codechange: refine sorter functions -Fix: fixed linux warnings (tokai)
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c
index 77777725d..d387eaded 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -738,7 +738,7 @@ bool DoZoomInOutWindow(int how, Window *w)
// routine to disable/enable the zoom buttons. Didn't know where to place these otherwise
{
- Window * wt;
+ Window *wt = NULL;
switch (w->window_class) {
case WC_MAIN_WINDOW:
wt = FindWindowById(WC_MAIN_TOOLBAR, 0);