write \n to new files instead of ""

ticket #1947


SVN revision: 80608
This commit is contained in:
Mike Blumenkrantz 2012-12-10 14:16:16 +00:00
parent 9631ca7ba6
commit e61159e49e
1 changed files with 2 additions and 2 deletions

View File

@ -9202,7 +9202,7 @@ _e_fm2_new_file_thread(void *data __UNUSED__, Ecore_Thread *eth)
f = fopen(buf, "w");
if (f)
{
fwrite("", 1, 1, f);
fwrite("\n", 1, 1, f);
fclose(f);
ecore_thread_feedback(eth, strdup(buf));
return;
@ -9220,7 +9220,7 @@ _e_fm2_new_file_thread(void *data __UNUSED__, Ecore_Thread *eth)
f = fopen(buf, "w");
if (f)
{
fwrite("", 1, 1, f);
fwrite("\n", 1, 1, f);
fclose(f);
ecore_thread_feedback(eth, strdup(buf));
return;