Formatting
authorlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 10 Sep 2010 11:25:05 +0000 (11:25 +0000)
committerlucas <lucas@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 10 Sep 2010 11:25:05 +0000 (11:25 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@52133 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_cache.c

index 833667a..6fa66a0 100644 (file)
@@ -210,9 +210,7 @@ _edje_cache_file_coll_open(const char *file, const char *coll, int *error_ret, E
    struct stat st;
 
    if (stat(file, &st) != 0)
-     {
-       return NULL;
-     }
+      return NULL;
 
    if (!_edje_file_hash)
      {
@@ -251,17 +249,20 @@ _edje_cache_file_coll_open(const char *file, const char *coll, int *error_ret, E
          }
      }
 
- open_new:
+open_new:
    if (!_edje_file_hash)
       _edje_file_hash = eina_hash_string_small_new(NULL);
+
    edf = _edje_file_open(file, coll, error_ret, edc_ret);
-   if (!edf) return NULL;
+   if (!edf)
+      return NULL;
+
    eina_hash_add(_edje_file_hash, file, edf);
    return edf;
 
- open:
-
-   if (!coll) return edf;
+open:
+   if (!coll)
+      return edf;
 
    edc = _edje_file_coll_open(edf, coll);
    if (!edc)