Fixed: Bad check in emote tokens
This commit is contained in:
parent
976bbe7ad6
commit
130b431043
1 changed files with 1 additions and 1 deletions
|
@ -6374,7 +6374,7 @@ bool CInterfaceManager::parseTokens(ucstring& ucstr)
|
||||||
// Get everything between the two "$"
|
// Get everything between the two "$"
|
||||||
size_t token_start_pos = start_pos + start_token.length();
|
size_t token_start_pos = start_pos + start_token.length();
|
||||||
size_t token_end_pos = end_pos - end_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.
|
// Wrong formatting; give up on this one.
|
||||||
start_pos = end_pos;
|
start_pos = end_pos;
|
||||||
|
|
Loading…
Reference in a new issue