Fixed: Display wrong commands with UTF-8 characters

--HG--
branch : develop
This commit is contained in:
kervala 2016-01-23 19:04:07 +01:00
parent dcd38de3f2
commit 482b1ba73a
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