mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-20 19:02:41 +01:00
Codechange: Use EncodedString for Query window. (#13528)
This removes the need to separately capture and store global parameters.
This commit is contained in:
@@ -1097,8 +1097,8 @@ struct NewGRFWindow : public Window, NewGRFScanCallback {
|
||||
if (!this->editable) break;
|
||||
if (this->execute) {
|
||||
ShowQuery(
|
||||
STR_NEWGRF_POPUP_CAUTION_CAPTION,
|
||||
STR_NEWGRF_CONFIRMATION_TEXT,
|
||||
GetEncodedString(STR_NEWGRF_POPUP_CAUTION_CAPTION),
|
||||
GetEncodedString(STR_NEWGRF_CONFIRMATION_TEXT),
|
||||
this,
|
||||
NewGRFConfirmationCallback
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user