No key config debug message unless DEBUG is defined.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@766 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2003-02-18 00:05:26 +00:00
parent 2ff097c311
commit 718a8394e4
+4
View File
@@ -162,7 +162,9 @@ LoadKeyConfig (FILE *fp, DWORD length)
if (line[0] == '"')
{
specialKeys[i] = (UNICODE)(ParseKeyString(line) & 0xFF);
#ifdef DEBUG
fprintf(stderr, "Special %i = %i\n", i, specialKeys[i]);
#endif
}
}
@@ -212,7 +214,9 @@ LoadKeyConfig (FILE *fp, DWORD length)
joy[0] = 0;
}
buf[i] = ParseKeyString (line);
#ifdef DEBUG
fprintf(stderr, "Player %i, key %i = %i\n", p, i, buf[i]);
#endif
if (joy[0] != 0)
{
char type;