ajwillia-ms pushed a commit to branch elementary-1.13. http://git.enlightenment.org/core/elementary.git/commit/?id=cacdc8b7e7c72383ddc1dbba4d8b032dc8430992
commit cacdc8b7e7c72383ddc1dbba4d8b032dc8430992 Author: Andy Williams <a...@andywilliams.me> Date: Wed Feb 18 08:46:05 2015 +0000 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. --- src/lib/elm_entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index de9200a..e7f018c 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -204,7 +204,7 @@ _utf8_markup_save(const char *file, { FILE *f; - if ((!text) || (!text[0])) + if (!text) { ecore_file_unlink(file); return; --