From 275b73aa64da7c4b5083216d273877380ceebe73 Mon Sep 17 00:00:00 2001 From: tma Date: Mon, 19 Sep 2005 17:45:29 +0000 Subject: * Fix to multiple buffer overflow bugs in CL_Rcon_f * Fix to COM_ParseExt 1 byte overwrite bug * Fixed some missing calls to trap_FS_FCloseFile * Fixed q3msgboom and q3infoboom bugs * Fixed some qboolean type confusion * Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374 git-svn-id: svn://svn.icculus.org/quake3/trunk@95 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/files.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code/qcommon/files.c') diff --git a/code/qcommon/files.c b/code/qcommon/files.c index 47e2160..3537fff 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -950,11 +950,11 @@ qboolean FS_FilenameCompare( const char *s1, const char *s2 ) { } if (c1 != c2) { - return -1; // strings not equal + return qtrue; // strings not equal } } while (c1); - return 0; // strings are equal + return qfalse; // strings are equal } /* -- cgit v1.2.3