SVN revision: 12926
This commit is contained in:
Carsten Haitzler 2005-01-12 14:23:16 +00:00
parent c4b1b524eb
commit c422759847
1 changed files with 1 additions and 3 deletions

View File

@ -967,9 +967,7 @@ eet_delete(Eet_File *ef, char *name)
int exists_already = 0;
/* check to see its' an eet file pointer */
if ((!ef) || (ef->magic != EET_MAGIC_FILE)
|| (!name) ||
(ef->mode != EET_FILE_MODE_RW))
if ((!ef) || (ef->magic != EET_MAGIC_FILE) || (!name))
return 0;
if (!ef->header) return 0;