diff options
author | smatz <smatz@openttd.org> | 2008-05-07 18:14:09 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-05-07 18:14:09 +0000 |
commit | 220bc49731e8f32cf92f31defab1bd5e313f7dc7 (patch) | |
tree | d68ab2c75843d9a261ba29a9827f480096afe454 /src | |
parent | c3822e3a90ca1b00878ebcc3efb6134ab6373545 (diff) | |
download | openttd-220bc49731e8f32cf92f31defab1bd5e313f7dc7.tar.xz |
(svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty
Diffstat (limited to 'src')
-rw-r--r-- | src/toolbar_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 422687d2e..f848d3345 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -1129,7 +1129,7 @@ static void MenuWndProc(Window *w, WindowEvent *e) case WE_DESTROY: { Window *v = FindWindowById(WC_MAIN_TOOLBAR, 0); v->RaiseWidget(WP(w, menu_d).main_button); - w->SetDirty(); + v->SetDirty(); return; } |