1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Remove uint32 cast - size_t can be safely compared to size_t.

This commit is contained in:
Goddesen
2016-07-11 02:12:19 +02:00
parent 23e4fe63d0
commit 555eb227a8

View File

@@ -297,7 +297,7 @@ static void window_text_input_paint(rct_window *w, rct_drawpixelinfo *dpi)
cursorY = y;
int width = 6;
if ((uint32)gTextInput.selection_offset < strlen(text_input)){
if (gTextInput.selection_offset < strlen(text_input)){
// Make a 1 utf8-character wide string for measuring the width
// of the currently selected character.
utf8 tmp[5] = { 0 }; // This is easier than setting temp_string[0..5]