diff --git a/src/bin/termiolink.c b/src/bin/termiolink.c index afbd7c9b..86d0bfcb 100644 --- a/src/bin/termiolink.c +++ b/src/bin/termiolink.c @@ -239,7 +239,8 @@ termio_link_find(Evas_Object *obj, int cx, int cy, goback = EINA_FALSE; goforward = EINA_TRUE; } - ty_sb_prepend(&sb, txt, txtlen); + res = ty_sb_prepend(&sb, txt, txtlen); + if (res < 0) goto end; if (isspace(sb.buf[0])) { int old_txtlen = txtlen;