diff --git a/src/openrct2-ui/windows/Options.cpp b/src/openrct2-ui/windows/Options.cpp index 0273cdaa2c..80f49294f3 100644 --- a/src/openrct2-ui/windows/Options.cpp +++ b/src/openrct2-ui/windows/Options.cpp @@ -352,7 +352,7 @@ static rct_widget window_options_advanced_widgets[] = { { WWT_CHECKBOX, 2, 10, 299, 114, 125, STR_STAY_CONNECTED_AFTER_DESYNC, STR_STAY_CONNECTED_AFTER_DESYNC_TIP }, // Do not disconnect after the client desynchronises with the server { WWT_DROPDOWN, 1, 165, 299, 130, 141, STR_NONE, STR_NONE }, // Autosave dropdown { WWT_DROPDOWN_BUTTON, 1, 288, 298, 131, 140, STR_DROPDOWN_GLYPH, STR_AUTOSAVE_FREQUENCY_TIP }, // Autosave dropdown button - { WWT_14, 1, 23, 298, 148, 159, STR_PATH_TO_RCT1, STR_PATH_TO_RCT1_TIP }, // RCT 1 path text + { WWT_LABEL, 1, 23, 298, 148, 159, STR_PATH_TO_RCT1, STR_PATH_TO_RCT1_TIP }, // RCT 1 path text { WWT_DROPDOWN_BUTTON, 1, 24, 289, 163, 176, STR_NONE, STR_STRING_TOOLTIP }, // RCT 1 path button { WWT_DROPDOWN_BUTTON, 1, 289, 299, 163, 176, STR_CLOSE_X, STR_PATH_TO_RCT1_CLEAR_TIP }, // RCT 1 path clear button { WIDGETS_END }, diff --git a/src/openrct2/interface/Widget.cpp b/src/openrct2/interface/Widget.cpp index 43665ac353..957c2fa4af 100644 --- a/src/openrct2/interface/Widget.cpp +++ b/src/openrct2/interface/Widget.cpp @@ -144,7 +144,7 @@ void widget_draw(rct_drawpixelinfo *dpi, rct_window *w, rct_widgetindex widgetIn case WWT_LABEL_CENTRED: widget_text_unknown(dpi, w, widgetIndex); break; - case WWT_14: + case WWT_LABEL: widget_text(dpi, w, widgetIndex); break; case WWT_SPINNER: diff --git a/src/openrct2/interface/Widget.h b/src/openrct2/interface/Widget.h index 0af82b5254..7b127e5e60 100644 --- a/src/openrct2/interface/Widget.h +++ b/src/openrct2/interface/Widget.h @@ -34,7 +34,7 @@ typedef enum { WWT_11, // Same as dropdown button but uses .text + 1 while pressed/active WWT_LABEL_CENTRED = 12, // Centred text WWT_TABLE_HEADER = 13, // Left-aligned textual button - WWT_14, + WWT_LABEL = 14, // Left-aligned text WWT_SPINNER = 15, WWT_DROPDOWN = 16, WWT_VIEWPORT = 17,