From 29736a18f62af65a31441465bae4936e932c6e3e Mon Sep 17 00:00:00 2001 From: zeromus Date: Sun, 22 Jun 2008 23:04:38 +0000 Subject: [PATCH] fix bug in splitpath that made tas savestate filename generation fail --- src/utils/xstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/xstring.cpp b/src/utils/xstring.cpp index af7edca4..ce284d79 100644 --- a/src/utils/xstring.cpp +++ b/src/utils/xstring.cpp @@ -343,7 +343,7 @@ void splitpath(const char* path, char* drv, char* dir, char* name, char* ext) for(s=end; (*ext=*s++); ) ext++; else - for(s=end; *s++; ) + for(s=end; *s++; ) {} /* search for end of directory name */ for(p=end; p>path; )