From a4aa668a7b256a10c041753b045d687c97370d01 Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 9 Dec 2004 23:29:24 +0000 Subject: [PATCH] fixes a gcc warning git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@592 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_demo.c b/engine/client/cl_demo.c index 038b2a4be..0eab050a2 100644 --- a/engine/client/cl_demo.c +++ b/engine/client/cl_demo.c @@ -692,7 +692,7 @@ void CL_Record_f (void) } } - while(p = strstr(fname, "..")) + while((p = strstr(fname, ".."))) { p[0] = '_'; p[1] = '_';