1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 17:54:50 +01:00

Fix #12900: Garbled/distorted date lines in file browser (#12902)

* Fix #12900: Garbled/distorted date lines in file browser
This commit is contained in:
Aaron van Geffen
2020-09-11 01:47:39 +02:00
committed by GitHub
parent d8ffec0ed7
commit c0e551056f

View File

@@ -791,7 +791,8 @@ static void window_loadsave_scrollpaint(rct_window* w, rct_drawpixelinfo* dpi, i
ft = Formatter::Common();
ft.Add<rct_string_id>(STR_STRING);
ft.Add<char*>(_listItems[i].date_formatted.c_str());
DrawTextEllipsised(dpi, { dateAnchor - DATE_TIME_GAP, y }, maxDateWidth, stringId, ft, COLOUR_BLACK);
DrawTextEllipsised(
dpi, { dateAnchor - DATE_TIME_GAP, y }, maxDateWidth, stringId, ft, COLOUR_BLACK, TextAlignment::RIGHT);
ft = Formatter::Common();
ft.Add<rct_string_id>(STR_STRING);