X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=conproc.c;h=ccbb849c9c2a44c0183521a988af2dc80b86bc2e;hp=63a1e465355256b3066d01510e8b263f83cc24ba;hb=749072a8f60b88ef37448e224e83944b7096e909;hpb=64fc4c197c0dba80bef067fd75d369aa727d5123 diff --git a/conproc.c b/conproc.c index 63a1e465..ccbb849c 100644 --- a/conproc.c +++ b/conproc.c @@ -19,9 +19,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // conproc.c +#include "quakedef.h" + #include #include -#include "quakedef.h" #include "conproc.h" HANDLE heventDone; @@ -38,7 +39,7 @@ BOOL GetScreenBufferLines (int *piLines); BOOL SetScreenBufferLines (int iLines); BOOL ReadText (LPTSTR pszText, int iBeginLine, int iEndLine); BOOL WriteText (LPCTSTR szText); -int CharToCode (char c); +int CharToCode (int c); BOOL SetConsoleCXCY(HANDLE hStdout, int cx, int cy); @@ -261,7 +262,7 @@ BOOL WriteText (LPCTSTR szText) } -int CharToCode (char c) +int CharToCode (int c) { char upper;