remember to remember the path

This commit is contained in:
Andy Williams 2014-04-27 18:43:15 +01:00
parent 75d5ac790c
commit cf0573557f
1 changed files with 4 additions and 1 deletions

View File

@ -61,7 +61,10 @@ edi_shutdown(void)
EAPI void
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 *