define STR_NONE as a rct_string_id

This commit is contained in:
IntelOrca committed 2016-01-07 22:14:53 +00:00
1 parent 5e071ed032
commit 43a5cc92cc
12 files changed
+23 -21

No files matched your search

+1 -1
View File
@@ -2443,7 +2443,7 @@ void window_start_textbox(rct_window *call_w, int call_widget, rct_string_id exi
// Enter in the the text input buffer any existing
// text.
if (existing_text != (rct_string_id)STR_NONE)
if (existing_text != STR_NONE)
format_string(gTextBoxInput, existing_text, &existing_args);
// In order to prevent strings that exceed the maxLength