aboutsummaryrefslogtreecommitdiff
path: root/src/game/Chat.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-29 00:26:07 -0500
committermegamage <none@none>2009-04-29 00:26:07 -0500
commitde11b9e901d1d1caa0634fad541f08f11c5781af (patch)
treee35503d08ef545e668b8d854da41e0ea6aba3b3b /src/game/Chat.cpp
parent9dd4b8c98599b0bdccea7b9acb61cb4e7a35da8f (diff)
[7730] Some optimizantion and code style. Author: zhenya
--HG-- branch : trunk
Diffstat (limited to 'src/game/Chat.cpp')
-rw-r--r--src/game/Chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp
index f029ba7d74a..789936302fc 100644
--- a/src/game/Chat.cpp
+++ b/src/game/Chat.cpp
@@ -910,7 +910,7 @@ bool ChatHandler::ExecuteCommandInTable(ChatCommand *table, const char* text, co
while (*text == ' ') ++text;
- for(uint32 i = 0; table[i].Name != NULL; i++)
+ for(uint32 i = 0; table[i].Name != NULL; ++i)
{
if( !hasStringAbbr(table[i].Name, cmd.c_str()) )
continue;