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>
This commit is contained in:
Chris Michael 2015-01-09 15:28:55 -05:00
parent b6f74c0a12
commit 9cdb8aaf9b
1 changed files with 3 additions and 3 deletions

View File

@ -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);