mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-20 04:59:11 +00:00
Codechange: add SetDParamStr that accepts std::string&
This commit is contained in:
@@ -65,7 +65,7 @@ StringID DropDownListParamStringItem::String() const
|
||||
|
||||
StringID DropDownListCharStringItem::String() const
|
||||
{
|
||||
SetDParamStr(0, this->raw_string.c_str());
|
||||
SetDParamStr(0, this->raw_string);
|
||||
return this->string;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user