From db471aec09343db564362492b199e70c590fde81 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Mon, 10 Aug 2015 00:28:33 +0200 Subject: [PATCH] correctly fix coverity issue found in termiolink.c --- src/bin/termiolink.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/termiolink.c b/src/bin/termiolink.c index 19923ab9..8baafa15 100644 --- a/src/bin/termiolink.c +++ b/src/bin/termiolink.c @@ -179,8 +179,7 @@ _termio_link_find(Evas_Object *obj, int cx, int cy, end = s[len - 2]; if ((end == endmatch) || - ((!escaped) && (isspace(end)) && - ((end != '\n') && (end != '\r')))) + ((!escaped) && (isspace(end)))) { goforward = EINA_FALSE; coord_back(&x2, &y2, w, h);