evas_textblock: remove unreachable code 08/249608/1
authorBowon Ryu <bowon.ryu@samsung.com>
Tue, 15 Dec 2020 09:13:45 +0000 (18:13 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 15 Dec 2020 09:14:24 +0000 (18:14 +0900)
Change-Id: Id3f70515c2a837549e19031d15f116b5acfb2043
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/lib/evas/canvas/evas_object_textblock.c

index 63e692c..73c077e 100644 (file)
@@ -6122,12 +6122,6 @@ _layout_get_hyphenationwrap(Ctxt *c, Evas_Object_Textblock_Format *fmt,
 
                        hyphen_off = word_end - word_start;
 
-                       /* We limit our search to the start of the line */
-                       if (word_start < line_start)
-                         {
-                            word_start = line_start;
-                         }
-
                        for (i = hyphen_off, pos = word_end ; pos > word_start ; i--, pos--)
                          {
                             if (