*Massive cleanup redux.

--HG--
branch : trunk
This commit is contained in:
maximius committed 2009-10-17 16:20:24 -07:00
1 parent e585187b24
commit 3f338cc1c3
862 files changed
+2736 -4797

No files matched your search

+2 -4
View File
@@ -77,7 +77,7 @@ char ** cli_completion(const char * text, int start, int end)
{
char ** matches;
matches = (char**)NULL;
if(start == 0)
matches = rl_completion_matches((char*)text,&command_finder);
else
@@ -348,7 +348,6 @@ bool ChatHandler::HandleServerSetDiffTimeCommand(const char *args)
return true;
}
/// @}
#ifdef linux
@@ -401,14 +400,13 @@ void CliRunnable::run()
#endif
if (command_str != NULL)
{
for(int x=0;command_str[x];x++)
for (int x=0; command_str[x]; x++)
if(command_str[x]=='\r'||command_str[x]=='\n')
{
command_str[x]=0;
break;
}
if(!*command_str)
{
#if PLATFORM == WINDOWS