billiob pushed a commit to branch master.

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

commit e5f3676e32d15e4763cfdbbef0b1fbac194ea554
Author: Boris Faure <bill...@gmail.com>
Date:   Tue Dec 20 20:20:34 2016 +0100

    termio: fix getting selection of known link. CID1367486
---
 src/bin/termio.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index f2dfaa9..507e7f6 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -2351,7 +2351,7 @@ termio_take_selection(Evas_Object *obj, Elm_Sel_Type type)
              len = strlen(sd->link.string);
              s = strndup(sd->link.string, len);
           }
-        return EINA_FALSE;
+        goto end;
      }
 
    if (sd->pty->selection.is_box)
@@ -2384,6 +2384,7 @@ termio_take_selection(Evas_Object *obj, Elm_Sel_Type type)
                                  EINA_TRUE);
      }
 
+end:
    if (s)
      {
         if ((sd->win) && (len > 0))

-- 


Reply via email to