From dd05742f88e9e226940c5776f25d511d549b296f Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 13 Feb 2012 11:31:28 +0100 Subject: [PATCH] Fixed: Bad check in emote tokens --- code/ryzom/client/src/interface_v3/interface_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/interface_v3/interface_manager.cpp b/code/ryzom/client/src/interface_v3/interface_manager.cpp index 180a25763..27b8f9197 100644 --- a/code/ryzom/client/src/interface_v3/interface_manager.cpp +++ b/code/ryzom/client/src/interface_v3/interface_manager.cpp @@ -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;