From 9cdb8aaf9bec83a0e0879c04f66408f6326fa2b2 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Fri, 9 Jan 2015 15:28:55 -0500 Subject: [PATCH] edje: Fix Coverity CID1261437 Summary: Coverity reports idential code for different branches here. Not sure WHY that was done, but I commented out the existing if statement for posterity. @fix Signed-off-by: Chris Michael --- src/lib/edje/edje_entry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c index 5d7097f..52e329d 100644 --- a/src/lib/edje/edje_entry.c +++ b/src/lib/edje/edje_entry.c @@ -3626,9 +3626,9 @@ _edje_entry_cursor_down(Edje_Real_Part *rp, Edje_Cursor cur) evas_textblock_cursor_char_geometry_get(c, &cx, &cy, &cw, &ch); if (!evas_textblock_cursor_char_coord_set(c, cx, ly + (lh / 2))) { - if (cx < (lx + (lw / 2))) - evas_textblock_cursor_line_char_last(c); - else + /* if (cx < (lx + (lw / 2))) */ + /* evas_textblock_cursor_line_char_last(c); */ + /* else */ evas_textblock_cursor_line_char_last(c); } _sel_update(en->ed, c, rp->object, rp->typedata.text->entry_data); -- 2.7.4