Skip to content

Commit 2c9edef

Browse files
committedSep 7, 2019
label[]: Fix cut-off translated text
1 parent ea9b241 commit 2c9edef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎src/gui/guiFormSpecMenu.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,8 @@ void GUIFormSpecMenu::parseLabel(parserData* data, const std::string &element)
14031403
std::vector<std::string> lines = split(text, '\n');
14041404

14051405
for (unsigned int i = 0; i != lines.size(); i++) {
1406-
std::wstring wlabel = utf8_to_wide(unescape_string(lines[i]));
1406+
std::wstring wlabel = unescape_translate(unescape_string(
1407+
utf8_to_wide(lines[i])));
14071408

14081409
core::rect<s32> rect;
14091410

0 commit comments

Comments
 (0)
Please sign in to comment.