Codechange: Pass encoded script strings as EncodedString.
This removes the ambiguity of having std::strings that may or may not be encoded.
This commit is contained in:
committed by
Peter Nelson
parent
2a05a845df
commit
b55af05626
@@ -990,7 +990,7 @@ public:
|
||||
|
||||
if (!i->text.empty()) {
|
||||
ir.top += WidgetDimensions::scaled.vsep_wide;
|
||||
ir.top = DrawStringMultiLine(ir, GetString(STR_JUST_RAW_STRING, i->text), TC_BLACK);
|
||||
ir.top = DrawStringMultiLine(ir, i->text.GetDecodedString(), TC_BLACK);
|
||||
}
|
||||
|
||||
/* Return required bottom position, the last pixel row plus some padding. */
|
||||
|
||||
Reference in New Issue
Block a user