summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-06-28 20:27:31 +0000
committerpeter1138 <peter1138@openttd.org>2006-06-28 20:27:31 +0000
commitda897446099ae32831ba861dbcb52ae6f024b838 (patch)
treef8442ba83b412b54ff721b93734b9d8722f7fcc1 /misc_gui.c
parent0d00785acc9b029a6391b66f5edd66f1c5efcc3a (diff)
downloadopenttd-da897446099ae32831ba861dbcb52ae6f024b838.tar.xz
(svn r5409) - Regression [r5391]: WE_CLICK event of SelectScenarioWndProc() cascaded to WE_RESIZE handler, causing the Save and Map toolbar widgets to be altered. Fix by putting the break; back.
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 2ffcbec0e..d7393449d 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -1577,6 +1577,7 @@ static void SelectScenarioWndProc(Window* w, WindowEvent* e)
}
break;
}
+ break;
case WE_RESIZE: {
/* Widget 3 and 4 have to go with halve speed, make it so obiwan */