Skip to content
Permalink
Browse files

label[]: Fix cut-off translated text

  • Loading branch information...
SmallJoker committed Sep 7, 2019
1 parent ea9b241 commit 2c9edefde3d941b1efa5c93a087814d6bc3509e6
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/guiFormSpecMenu.cpp
@@ -1403,7 +1403,8 @@ void GUIFormSpecMenu::parseLabel(parserData* data, const std::string &element)
std::vector<std::string> lines = split(text, '\n');

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

core::rect<s32> rect;

0 comments on commit 2c9edef

Please sign in to comment.
You can’t perform that action at this time.