mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-18 01:42:38 +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:
@@ -869,7 +869,10 @@ public:
|
||||
if (_accepted_external_search) {
|
||||
this->OpenExternalSearch();
|
||||
} else {
|
||||
ShowQuery(STR_CONTENT_SEARCH_EXTERNAL_DISCLAIMER_CAPTION, STR_CONTENT_SEARCH_EXTERNAL_DISCLAIMER, this, ExternalSearchDisclaimerCallback);
|
||||
ShowQuery(
|
||||
GetEncodedString(STR_CONTENT_SEARCH_EXTERNAL_DISCLAIMER_CAPTION),
|
||||
GetEncodedString(STR_CONTENT_SEARCH_EXTERNAL_DISCLAIMER),
|
||||
this, ExternalSearchDisclaimerCallback);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user