diff options
author | Michael Lutz <michi@icosahedron.de> | 2020-05-17 23:32:06 +0200 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2020-05-21 20:02:34 +0200 |
commit | a49fdb7ebbb8d8ce96bcd7bd779b18bcd86d0643 (patch) | |
tree | fc6776836040a068e6c1710288cee853ba28b565 /src/widgets/dropdown.cpp | |
parent | 715aa67a9c13444ee76e717bfa656472f5fb2ac3 (diff) | |
download | openttd-a49fdb7ebbb8d8ce96bcd7bd779b18bcd86d0643.tar.xz |
Codechange: Store base set related texts in std::strings.
Diffstat (limited to 'src/widgets/dropdown.cpp')
-rw-r--r-- | src/widgets/dropdown.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index 3412a98bd..c450dc7b8 100644 --- a/src/widgets/dropdown.cpp +++ b/src/widgets/dropdown.cpp @@ -65,7 +65,7 @@ StringID DropDownListParamStringItem::String() const StringID DropDownListCharStringItem::String() const { - SetDParamStr(0, this->raw_string); + SetDParamStr(0, this->raw_string.c_str()); return this->string; } |