forked from enlightenment/efl
Revert "ecore-tests: Fix formatting"
This commit alone is fine but it does changes to another commit that needs
reverting as it breaks make check / distcheck and thus this one has to be
reverted as well.
This reverts commit 652e2f688b
.
This commit is contained in:
parent
2c35578a65
commit
1721c8e043
|
@ -18,8 +18,10 @@ void
|
|||
_writeToFile(char *filePath, char *text)
|
||||
{
|
||||
FILE *f = fopen(filePath, "r+");
|
||||
if (f == NULL)
|
||||
f = fopen(filePath, "w");
|
||||
if(f == NULL)
|
||||
{
|
||||
f = fopen(filePath, "w");
|
||||
}
|
||||
fail_if(f == NULL);
|
||||
fprintf(f, "%s\n", text);
|
||||
fclose(f);
|
||||
|
|
Loading…
Reference in New Issue