]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - conproc.c
Add an in_releaseall command for debugging/working around stuck keys.
[xonotic/darkplaces.git] / conproc.c
index d2a016ba9d1c68f90bd703a9c80c44aa7b988830..ccbb849c9c2a44c0183521a988af2dc80b86bc2e 100644 (file)
--- a/conproc.c
+++ b/conproc.c
@@ -19,10 +19,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // conproc.c
 
+#include "quakedef.h"
+
 #include <windows.h>
 #include <wchar.h>
 #include "conproc.h"
-#include "quakedef.h"
 
 HANDLE heventDone;
 HANDLE hfileBuffer;
@@ -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;