forked from old/legacy-imlib2
oops - chekc for keys and real files first
SVN revision: 5083
This commit is contained in:
parent
0564389a26
commit
f5a26225a1
|
@ -83,7 +83,7 @@ load (ImlibImage *im, ImlibProgressFunction progress,
|
|||
DATA32 *body;
|
||||
if (im->data)
|
||||
return 0;
|
||||
if (!im->file)
|
||||
if ((!im->file) || (!im->real_file) || (!im->key))
|
||||
return 0;
|
||||
strcpy(file, im->real_file);
|
||||
strcpy(key, im->key);
|
||||
|
|
Loading…
Reference in New Issue