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/misc_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/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 5017b31f9..7e4d019e3 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -929,7 +929,7 @@ void CheckRedrawStationCoverage(const Window *w) { if (_thd.dirty & 1) { _thd.dirty &= ~1; - SetWindowDirty(w); + w->SetDirty(); } } @@ -2079,7 +2079,7 @@ void ShowSaveLoadDialog(SaveLoadDialogMode mode) void RedrawAutosave() { - SetWindowDirty(FindWindowById(WC_STATUS_BAR, 0)); + InvalidateWindow(WC_STATUS_BAR, 0); } void SetFiosType(const byte fiostype) |