forked from enlightenment/efl
entry: Don't unlink empty files when saving @fix T2122.
Simmple fix where we now only unlink if the object we are saving is NULL. A null terminated string being null is not an error case.
This commit is contained in:
parent
061f783923
commit
3e78cbb1a6
|
@ -204,7 +204,7 @@ _utf8_markup_save(const char *file,
|
|||
{
|
||||
FILE *f;
|
||||
|
||||
if ((!text) || (!text[0]))
|
||||
if (!text)
|
||||
{
|
||||
ecore_file_unlink(file);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue