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:
Andy Williams 2015-02-18 08:46:05 +00:00
parent 061f783923
commit 3e78cbb1a6
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ _utf8_markup_save(const char *file,
{
FILE *f;
if ((!text) || (!text[0]))
if (!text)
{
ecore_file_unlink(file);
return;