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/cheat_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/cheat_gui.cpp')
-rw-r--r-- | src/cheat_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp index 29087aea3..be5c99303 100644 --- a/src/cheat_gui.cpp +++ b/src/cheat_gui.cpp @@ -104,7 +104,7 @@ static int32 ClickChangeDateCheat(int32 p1, int32 p2) SetDate(ConvertYMDToDate(_cur_year + p2, ymd.month, ymd.day)); EnginesMonthlyLoop(); - SetWindowDirty(FindWindowById(WC_STATUS_BAR, 0)); + InvalidateWindow(WC_STATUS_BAR, 0); InvalidateWindowClassesData(WC_BUILD_STATION, 0); ResetSignalVariant(); return _cur_year; |