termiolink: check return of ty_sb_prepend(). CID1365659
This commit is contained in:
parent
57c811ce9b
commit
93eb6e6663
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue