diff options
author | frosch <frosch@openttd.org> | 2009-09-13 17:37:47 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-09-13 17:37:47 +0000 |
commit | 734edc178db2d134923ed887b17242bbce55c802 (patch) | |
tree | 281fe56953557f05c066121821967366632a7edd /src/toolbar_gui.cpp | |
parent | 53cc397607222c9c1a8b56c545c5050dbc306b41 (diff) | |
download | openttd-734edc178db2d134923ed887b17242bbce55c802.tar.xz |
(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.
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 411a688a5..ff22ed7c8 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -782,7 +782,7 @@ static void ToolbarSwitchClick(Window *w) SplitToolbar(w); w->HandleButtonClick(TBN_SWITCHBAR); - SetWindowDirty(w); + w->SetDirty(); SndPlayFx(SND_15_BEEP); } |