Fix #10928: File browser's date column is too narrow.

This commit is contained in:
Aaron van Geffen 2020-03-16 22:32:37 +00:00
parent 28d14517e1
commit 484956e006
2 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@
- Fix: [#475] Water sides drawn incorrectly (original bug).
- Fix: [#6123, #7907, #9472, #11028] Cannot build some track designs with 4 stations (original bug).
- Fix: [#7094] Back wall edge texture in water missing.
- Fix: [#10928] File browser's date column is too narrow.
- Fix: [#11005] Company value overflows.
- Fix: [#11027] Third color on walls becomes black when saving.

View File

@ -637,16 +637,16 @@ static void window_loadsave_textinput(rct_window* w, rct_widgetindex widgetIndex
static void window_loadsave_compute_max_date_width()
{
// Generate a time object for a relatively wide time: 2000-10-20 00:00:00
// Generate a time object for a relatively wide time: 2000-02-20 00:00:00
std::tm tm;
tm.tm_sec = 0;
tm.tm_min = 0;
tm.tm_hour = 0;
tm.tm_mday = 20;
tm.tm_mon = 9;
tm.tm_mon = 2;
tm.tm_year = 100;
tm.tm_wday = 5;
tm.tm_yday = 294;
tm.tm_yday = 51;
tm.tm_isdst = -1;
std::time_t long_time = mktime(&tm);