Changed: Fix @WEB customtext items

--HG--
branch : patches-from-atys
hg/hotfix/patches-from-atys
ulukyn 7 years ago
parent f917d22b71
commit 0b0b980510

@ -313,7 +313,7 @@ void CInterfaceItemEdition::CItemEditionWindow::begin()
pGH->browse(text.substr(4, text.size()-4).toString().c_str()); pGH->browse(text.substr(4, text.size()-4).toString().c_str());
text = localDesc; text = localDesc;
} }
else if (text.size() > 4 && text[0]=='@' && text[1]=='L' && text[2]=='U' && text[3]=='A') else if (text.size() > 3 && text[0]=='@' && text[1]=='L' && text[2]=='U' && text[3]=='A')
{ {
string code = text.substr(4, text.size()-4).toString(); string code = text.substr(4, text.size()-4).toString();
if (!code.empty()) if (!code.empty())

Loading…
Cancel
Save