diff --git a/code/ryzom/client/src/interface_v3/action_handler_item.cpp b/code/ryzom/client/src/interface_v3/action_handler_item.cpp index 4b177128a..26a49d644 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_item.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_item.cpp @@ -166,12 +166,12 @@ void CInterfaceItemEdition::CItemEditionWindow::infoReceived() { CGroupHTML *pGH = dynamic_cast(CWidgetManager::getInstance()->getElementFromId("ui:interface:web_transactions:content:html")); if (pGH) - pGH->browse(text.substr(3, text.size()-3).toString().c_str()); + pGH->browse(text.substr(4, text.size()-4).toString().c_str()); text = localDesc; } else if (text.size() > 3 && text[0]=='@' && text[1]=='L' && text[2]=='U' && text[3]=='A') { - string code = text.substr(3, text.size()-3).toString(); + string code = text.substr(4, text.size()-4).toString(); if (!code.empty()) CLuaManager::getInstance().executeLuaScript(code); text = localDesc; @@ -310,12 +310,12 @@ void CInterfaceItemEdition::CItemEditionWindow::begin() { CGroupHTML *pGH = dynamic_cast(CWidgetManager::getInstance()->getElementFromId("ui:interface:web_transactions:content:html")); if (pGH) - pGH->browse(text.substr(3, text.size()-3).toString().c_str()); + pGH->browse(text.substr(4, text.size()-4).toString().c_str()); text = localDesc; } - else if (text.size() > 3 && text[0]=='@' && text[1]=='L' && text[2]=='U' && text[3]=='A') + else if (text.size() > 4 && text[0]=='@' && text[1]=='L' && text[2]=='U' && text[3]=='A') { - string code = text.substr(3, text.size()-3).toString(); + string code = text.substr(4, text.size()-4).toString(); if (!code.empty()) CLuaManager::getInstance().executeLuaScript(code); text = localDesc;