forked from enlightenment/edi
remember to remember the path
This commit is contained in:
parent
75d5ac790c
commit
cf0573557f
|
@ -61,7 +61,10 @@ edi_shutdown(void)
|
||||||
EAPI void
|
EAPI void
|
||||||
edi_project_set(const char *path)
|
edi_project_set(const char *path)
|
||||||
{
|
{
|
||||||
_edi_project_path = path;
|
if (_edi_project_path)
|
||||||
|
eina_stringshare_del(_edi_project_path);
|
||||||
|
|
||||||
|
_edi_project_path = eina_stringshare_add(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI const char *
|
EAPI const char *
|
||||||
|
|
Loading…
Reference in New Issue