stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=1721c8e0437a3030dc9dbf8b43d1c0f65b007a18

commit 1721c8e0437a3030dc9dbf8b43d1c0f65b007a18
Author: Stefan Schmidt <[email protected]>
Date:   Mon Nov 10 11:36:48 2014 +0100

    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 652e2f688bb7c7057e69a4740181c12f17aa4e1d.
---
 src/tests/ecore/ecore_test_ecore_file.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/tests/ecore/ecore_test_ecore_file.c 
b/src/tests/ecore/ecore_test_ecore_file.c
index cd06d20..dfeb72d 100644
--- a/src/tests/ecore/ecore_test_ecore_file.c
+++ b/src/tests/ecore/ecore_test_ecore_file.c
@@ -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);

-- 


Reply via email to