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] = '_';