aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termiolink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/termiolink.c')
-rw-r--r--src/bin/termiolink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/termiolink.c b/src/bin/termiolink.c
index 86d0bfc..c810c65 100644
--- a/src/bin/termiolink.c
+++ b/src/bin/termiolink.c
@@ -212,6 +212,8 @@ termio_link_find(Evas_Object *obj, int cx, int cy,
int txtlen = 0;
Eina_Bool was_protocol = EINA_FALSE;
+ EINA_SAFETY_ON_NULL_RETURN_VAL(ty, NULL);
+
x1 = x2 = cx;
y1 = y2 = cy;
termio_size_get(obj, &w, &h);