Fixed some qboolean type confusion

note: cl_keys change not included as qboolean not abused unlike q3

from Tim Angus in ioquake3
svn 95 git 33a48a0336865a9d21983e4836920cd9f3401101

Fixed some qboolean type confusion

from http://www.quakesrc.org/forums/viewtopic.php?t=5374
This commit is contained in:
Jonathan Gray 2013-05-07 02:11:45 +10:00
parent 983705084a
commit 8349abd8bb

View file

@ -965,11 +965,11 @@ qboolean FS_FilenameCompare( const char *s1, const char *s2 ) {
}
if (c1 != c2) {
return (qboolean)-1; // strings not equal
return qtrue; // strings not equal
}
} while (c1);
return (qboolean)0; // strings are equal
return qfalse; // strings are equal
}
static bool Sys_GetFileTime(LPCSTR psFileName, FILETIME &ft)