From 8349abd8bb0fd21155efe1a78376ae1d00080383 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 7 May 2013 02:11:45 +1000 Subject: [PATCH] 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 --- codemp/qcommon/files.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codemp/qcommon/files.cpp b/codemp/qcommon/files.cpp index 8ac91be..bcd5566 100644 --- a/codemp/qcommon/files.cpp +++ b/codemp/qcommon/files.cpp @@ -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)