forked from enlightenment/efl
edje: quick fix to guarantee that ed->path is always correctly set.
NOTE: It will be better to completly remove ed->path in favor of using ed->file->f, but that would be way to intrusive for this release cycle.
This commit is contained in:
parent
e483d25082
commit
6a3971ec3d
|
@ -1141,6 +1141,11 @@ _edje_file_add(Edje *ed, const Eina_File *f)
|
||||||
ed->file = NULL;
|
ed->file = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// FIXME: it will be actually better to remove ed->path.
|
||||||
|
ed->path = eina_stringshare_add(eina_file_filename_get(f));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Reference in New Issue