summaryrefslogtreecommitdiff
path: root/src/date.cpp
diff options
context:
space:
mode:
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();
}