edje_cc: create data hash if it doesn't exist

The check was being done only in 'data.item' handler

Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
This commit is contained in:
Eduardo Lima (Etrunko) 2013-05-28 16:07:31 -03:00
parent b7ff5a737f
commit c03c6bd12c
1 changed files with 3 additions and 0 deletions

View File

@ -1852,6 +1852,9 @@ st_data_file(void)
es->str = value;
if (!edje_file->data)
edje_file->data = eina_hash_string_small_new(free);
eina_hash_direct_add(edje_file->data, key, es);
free(filename);