Fixed: Display wrong commands with UTF-8 characters

This commit is contained in:
kervala 2016-01-23 19:04:07 +01:00
parent 8465076ec9
commit 0820939b59
2 changed files with 2 additions and 2 deletions

View file

@ -1370,7 +1370,7 @@ class CHandlerTalk : public IActionHandler
else
{
CInterfaceManager *im = CInterfaceManager::getInstance();
im->displaySystemInfo (ucstring(cmd+": ")+CI18N::get ("uiCommandNotExists"));
im->displaySystemInfo (ucstring::makeFromUtf8(cmd) + ": " + CI18N::get ("uiCommandNotExists"));
}
}
else

View file

@ -1308,7 +1308,7 @@ public:
else
{
CInterfaceManager *im = CInterfaceManager::getInstance();
im->displaySystemInfo (ucstring(cmd+": ")+CI18N::get ("uiCommandNotExists"));
im->displaySystemInfo (ucstring::makeFromUtf8(cmd) + ": " + CI18N::get ("uiCommandNotExists"));
}
}
else