diff --git a/src/guiengine/get_font_properties.cpp b/src/guiengine/get_font_properties.cpp index 8f3cc1326..b885f4ad8 100644 --- a/src/guiengine/get_font_properties.cpp +++ b/src/guiengine/get_font_properties.cpp @@ -105,7 +105,7 @@ void getFontProperties::loadBoldChar(float scale) { //Only use all capital letter for bold char with latin (<640 of char code). //Remove all characters (>char code 8191) not used by the title - if (((iswlower((wchar_t)*it) || !iswalpha((wchar_t)*it)) && *it < 640) || *it > 8192) + if (((iswlower((wchar_t)*it) || !iswalpha((wchar_t)*it)) && *it < 640) || *it > 8191) it = usedchar.erase(it); else ++it;