termio: fix getting selection of known link. CID1367486
This commit is contained in:
parent
240a4a02d3
commit
e5f3676e32
|
@ -2351,7 +2351,7 @@ termio_take_selection(Evas_Object *obj, Elm_Sel_Type type)
|
||||||
len = strlen(sd->link.string);
|
len = strlen(sd->link.string);
|
||||||
s = strndup(sd->link.string, len);
|
s = strndup(sd->link.string, len);
|
||||||
}
|
}
|
||||||
return EINA_FALSE;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sd->pty->selection.is_box)
|
if (sd->pty->selection.is_box)
|
||||||
|
@ -2384,6 +2384,7 @@ termio_take_selection(Evas_Object *obj, Elm_Sel_Type type)
|
||||||
EINA_TRUE);
|
EINA_TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
end:
|
||||||
if (s)
|
if (s)
|
||||||
{
|
{
|
||||||
if ((sd->win) && (len > 0))
|
if ((sd->win) && (len > 0))
|
||||||
|
|
Loading…
Reference in New Issue