billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=84c1c77757f179d1196e3ef7924ff892b13f9d2d

commit 84c1c77757f179d1196e3ef7924ff892b13f9d2d
Author: Boris Faure <bill...@gmail.com>
Date:   Wed Jan 27 20:17:15 2016 +0100

    oops. Always use curly braces…
---
 src/bin/termio.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index f2f58d3..00207a4 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -2335,12 +2335,14 @@ termio_take_selection(Evas_Object *obj, Elm_Sel_Type 
type)
           }
      }
    else
-     if (sd->link.string)
-       {
-          len = strlen(sd->link.string);
-          s = strndup(sd->link.string, len);
-       }
-     return;
+     {
+        if (sd->link.string)
+          {
+             len = strlen(sd->link.string);
+             s = strndup(sd->link.string, len);
+          }
+        return;
+     }
 
    if (sd->pty->selection.is_box)
      {

-- 


Reply via email to