SVN revision: 5123
This commit is contained in:
Tom Gilbert 2001-08-12 13:45:32 +00:00
parent ab067f4fc5
commit f2ba676428
1 changed files with 3 additions and 1 deletions

View File

@ -278,7 +278,9 @@ save (ImlibImage *im, ImlibProgressFunction progress,
tmp = strrchr(file, ':');
if(!tmp)
return 0;
*tmp = '\0';
*tmp++ = '\0';
if(!tmp)
return 0;
strcpy(key, tmp + 1);
if (exists(file))