forked from old/legacy-imlib2
parent
ab067f4fc5
commit
f2ba676428
|
@ -278,7 +278,9 @@ save (ImlibImage *im, ImlibProgressFunction progress,
|
||||||
tmp = strrchr(file, ':');
|
tmp = strrchr(file, ':');
|
||||||
if(!tmp)
|
if(!tmp)
|
||||||
return 0;
|
return 0;
|
||||||
*tmp = '\0';
|
*tmp++ = '\0';
|
||||||
|
if(!tmp)
|
||||||
|
return 0;
|
||||||
strcpy(key, tmp + 1);
|
strcpy(key, tmp + 1);
|
||||||
|
|
||||||
if (exists(file))
|
if (exists(file))
|
||||||
|
|
Loading…
Reference in New Issue