summaryrefslogtreecommitdiff
path: root/src/lib/edje
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-01-09 15:28:55 -0500
committerChris Michael <cp.michael@samsung.com>2015-01-09 15:28:55 -0500
commit9cdb8aaf9bec83a0e0879c04f66408f6326fa2b2 (patch)
treed70798de093a80a920408d84fc9698500352738d /src/lib/edje
parentb6f74c0a12e361dc92e2dc6f0917ae57320de3f8 (diff)
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 <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_entry.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index 5d7097f505..52e329d755 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)
3626 evas_textblock_cursor_char_geometry_get(c, &cx, &cy, &cw, &ch); 3626 evas_textblock_cursor_char_geometry_get(c, &cx, &cy, &cw, &ch);
3627 if (!evas_textblock_cursor_char_coord_set(c, cx, ly + (lh / 2))) 3627 if (!evas_textblock_cursor_char_coord_set(c, cx, ly + (lh / 2)))
3628 { 3628 {
3629 if (cx < (lx + (lw / 2))) 3629 /* if (cx < (lx + (lw / 2))) */
3630 evas_textblock_cursor_line_char_last(c); 3630 /* evas_textblock_cursor_line_char_last(c); */
3631 else 3631 /* else */
3632 evas_textblock_cursor_line_char_last(c); 3632 evas_textblock_cursor_line_char_last(c);
3633 } 3633 }
3634 _sel_update(en->ed, c, rp->object, rp->typedata.text->entry_data); 3634 _sel_update(en->ed, c, rp->object, rp->typedata.text->entry_data);