fix bug in splitpath that made tas savestate filename generation fail

This commit is contained in:
zeromus 2008-06-22 23:04:38 +00:00
parent a91d2c414e
commit 29736a18f6
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ void splitpath(const char* path, char* drv, char* dir, char* name, char* ext)
for(s=end; (*ext=*s++); ) for(s=end; (*ext=*s++); )
ext++; ext++;
else else
for(s=end; *s++; ) for(s=end; *s++; ) {}
/* search for end of directory name */ /* search for end of directory name */
for(p=end; p>path; ) for(p=end; p>path; )