devilhorns pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=25ec6d06cb74f3a3ce1884fa5ae8593d6b34ea00

commit 25ec6d06cb74f3a3ce1884fa5ae8593d6b34ea00
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Jul 22 12:24:33 2015 -0400

    terminology: Fix formatting
    
    NB: No functional changes
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/termio.c      | 2 --
 src/bin/termptysave.c | 5 +++--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index 47ac51e..ffdd7e7 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -370,7 +370,6 @@ termio_scroll_set(Evas_Object *obj, int scroll)
    _smart_apply(obj);
 }
 
-
 const char *
 termio_title_get(Evas_Object *obj)
 {
@@ -625,7 +624,6 @@ termio_config_update(Evas_Object *obj)
    _smart_size(obj, ow / w, oh / h, EINA_TRUE);
 }
 
-
 Config *
 termio_config_get(const Evas_Object *obj)
 {
diff --git a/src/bin/termptysave.c b/src/bin/termptysave.c
index 686ea0f..2c22200 100644
--- a/src/bin/termptysave.c
+++ b/src/bin/termptysave.c
@@ -100,10 +100,11 @@ _alloc_new(int size, unsigned char gen)
    // get mmaped anonymous memory so when freed it goes away from the system
    ptr = (unsigned char*) mmap(NULL, sz, PROT_READ | PROT_WRITE,
               MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
-   if (ptr == MAP_FAILED) {
+   if (ptr == MAP_FAILED)
+     {
         ERR("Cannot allocate more memory with mmap MAP_ANONYMOUS");
         return NULL;
-   }
+     }
 
    // note - we SHOULD memset to 0, but we are assuming mmap anon give 0 pages
    //memset(ptr, 0, newsize);

-- 


Reply via email to