summaryrefslogtreecommitdiff
path: root/src/date.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-09-13 19:15:59 +0000
committerfrosch <frosch@openttd.org>2009-09-13 19:15:59 +0000
commitebd916be3def20902cf19ffd16555074728eb9c3 (patch)
treec7748d7612a61b9558ffd10ffb176e34584f2376 /src/date.cpp
parent5de9cc46b50b8e677395543c10b26b59c860212b (diff)
downloadopenttd-ebd916be3def20902cf19ffd16555074728eb9c3.tar.xz
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
Diffstat (limited to 'src/date.cpp')
-rw-r--r--src/date.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/date.cpp b/src/date.cpp
index 714d0d699..4d3c27b2e 100644
--- a/src/date.cpp
+++ b/src/date.cpp
@@ -240,7 +240,7 @@ static void OnNewMonth()
RedrawAutosave();
}
- InvalidateWindowClasses(WC_CHEATS);
+ SetWindowClassesDirty(WC_CHEATS);
CompaniesMonthlyLoop();
SubsidyMonthlyLoop();
EnginesMonthlyLoop();
@@ -264,7 +264,7 @@ static void OnNewDay()
DisasterDailyLoop();
IndustryDailyLoop();
- InvalidateWindowWidget(WC_STATUS_BAR, 0, 0);
+ SetWindowWidgetDirty(WC_STATUS_BAR, 0, 0);
EnginesDailyLoop();
}