SVN revision: 25158
This commit is contained in:
Carsten Haitzler 2006-08-27 12:38:09 +00:00
parent 167e2e34e5
commit 29a186fb48
1 changed files with 2 additions and 1 deletions

View File

@ -455,8 +455,9 @@ edje_file_data_get(const char *file, const char *key)
Edje_Data *di;
di = l->data;
if (!strcmp(di->key, key))
if ((di->key) && (key) && (!strcmp(di->key, key)))
{
if (!di->value) return NULL;
str = strdup(di->value);
break;
}