Fixed: Old Custom Text what used @WEB have no space after command "@WEBxxx"

--HG--
branch : compatibility-develop
hg/compatibility-develop
Riasan 7 years ago
parent 6cbc8d1d8a
commit 31fe6a4095

@ -162,7 +162,7 @@ void CInterfaceItemEdition::CItemEditionWindow::infoReceived()
else
{
ucstring text = itemInfo.CustomText;
if (text.size() > 4 && text[0]=='@' && text[1]=='W' && text[2]=='E' && text[3]=='B' && text[4]==' ')
if (text.size() > 3 && text[0]=='@' && text[1]=='W' && text[2]=='E' && text[3]=='B')
{
CGroupHTML *pGH = dynamic_cast<CGroupHTML*>(CWidgetManager::getInstance()->getElementFromId("ui:interface:web_transactions:content:html"));
if (pGH)

Loading…
Cancel
Save