Codechange: Use proper date types in various places (#11177)

This commit is contained in:
Tyler Trahan
2023-08-11 09:32:42 -04:00
committed by GitHub
parent c9c9cfa4fd
commit c7b51a8c3a
7 changed files with 12 additions and 11 deletions

View File

@@ -2505,7 +2505,7 @@ struct ScenarioEditorToolbarWindow : Window {
/* Was 'cancel' pressed? */
if (str == nullptr) return;
int32_t value;
TimerGameCalendar::Year value;
if (!StrEmpty(str)) {
value = atoi(str);
} else {