mirror of
https://github.com/edubart/otclient.git
synced 2025-11-05 21:16:24 +01:00
Use custom upchar and lochar by default due to accents in font files.
This commit is contained in:
@@ -108,7 +108,7 @@ void UIWidget::onFontChange(const std::string& font)
|
||||
void UIWidget::setText(std::string text)
|
||||
{
|
||||
if(m_textOnlyUpperCase)
|
||||
std::transform(text.begin(), text.end(), text.begin(), toupper);
|
||||
stdext::toupper(text);
|
||||
|
||||
if(m_text == text)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user