This commit is contained in:
Krolock 2012-02-20 19:46:51 +01:00
commit f95d2dfeeb

View file

@ -6374,7 +6374,7 @@ bool CInterfaceManager::parseTokens(ucstring& ucstr)
// Get everything between the two "$"
size_t token_start_pos = start_pos + start_token.length();
size_t token_end_pos = end_pos - end_token.length();
if (token_start_pos < token_end_pos)
if (token_start_pos > token_end_pos)
{
// Wrong formatting; give up on this one.
start_pos = end_pos;