(svn r1266) -Fix: fix some cygwin/mingw warnings

-Note: when compiling with MinGW (-mno-cygwin) __MINGW32__ is defined; when compiling without it __CYGWIN32__ is defined. You need to set either -mno-cygwin (MinGW) or -mwin32 (Cygwin) to have WIN32 defined
This commit is contained in:
darkvater
2004-12-23 22:31:46 +00:00
parent c19b04efe8
commit 2a0f68a6c5
4 changed files with 29 additions and 15 deletions

View File

@@ -162,7 +162,7 @@ static void DedicatedHandleKeyInput()
else {
printf("\n");
IConsoleCmdExec(input_line);
sprintf(input_line, "");
input_line[0] = '\0';
}
}
#endif