diff --git a/ryzom/client/src/interface_v3/chat_text_manager.cpp b/ryzom/client/src/interface_v3/chat_text_manager.cpp index 7c2e6938a..2d68d484f 100644 --- a/ryzom/client/src/interface_v3/chat_text_manager.cpp +++ b/ryzom/client/src/interface_v3/chat_text_manager.cpp @@ -427,8 +427,8 @@ CViewBase *CChatTextManager::createMsgTextComplex(const string &msg, NLMISC::CRG CCDBNodeLeaf *node= NLGUI::CDBManager::getInstance()->getDbProp("UI:SAVE:CHAT:SHOW_TRANSLATION_ONLY_AS_TOOLTIP_CB", false); bool originalFirst = node ? node->getValueBool() : true; - string::size_type startTr = msg.find(ucstring("{:")); - string::size_type endOfOriginal = msg.find(ucstring("}@{")); + string::size_type startTr = msg.find("{:"); + string::size_type endOfOriginal = msg.find("}@{"); // Original/Translated case, example: {:enHello the world!}@{ Bonjour le monde ! if (startTr != string::npos && endOfOriginal != string::npos)