forked from mirror/OpenTTD
Codechange: Use EncodedString for Query window. (#13528)
This removes the need to separately capture and store global parameters.
This commit is contained in:
@@ -2547,8 +2547,8 @@ struct GameSettingsWindow : Window {
|
||||
|
||||
case WID_GS_RESET_ALL:
|
||||
ShowQuery(
|
||||
STR_CONFIG_SETTING_RESET_ALL_CONFIRMATION_DIALOG_CAPTION,
|
||||
STR_CONFIG_SETTING_RESET_ALL_CONFIRMATION_DIALOG_TEXT,
|
||||
GetEncodedString(STR_CONFIG_SETTING_RESET_ALL_CONFIRMATION_DIALOG_CAPTION),
|
||||
GetEncodedString(STR_CONFIG_SETTING_RESET_ALL_CONFIRMATION_DIALOG_TEXT),
|
||||
this,
|
||||
ResetAllSettingsConfirmationCallback
|
||||
);
|
||||
|
Reference in New Issue
Block a user