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
commit858cc621a6b8033137d06be892f46becb350977f (patch)
treef8442ba83b412b54ff721b93734b9d8722f7fcc1 /misc_gui.c
parentfec7be21bfaade6ece30892fc2f7179fc9ba011d (diff)
downloadopenttd-858cc621a6b8033137d06be892f46becb350977f.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 */