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 | cc107fe0f9af574305256e39fb41f53a36c546dc (patch) | |
tree | d68ab2c75843d9a261ba29a9827f480096afe454 /src/toolbar_gui.cpp | |
parent | b6ec43896d3de74a52b09d62e52b919c1dbc60f3 (diff) | |
download | openttd-cc107fe0f9af574305256e39fb41f53a36c546dc.tar.xz |
(svn r12994) -Fix (r12976): another case main toolbar wasn't marked dirty
Diffstat (limited to 'src/toolbar_gui.cpp')
-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; } |