From: tasn Date: Fri, 10 Jun 2011 10:12:51 +0000 (+0000) Subject: Evas textblock: Fixed charwrap for very small textblocks. X-Git-Tag: submit/trunk/20120815.174732~1360 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e2b43f7c5c264a31ffc803451b7d298bd965c4fe;p=profile%2Fivi%2Fevas.git Evas textblock: Fixed charwrap for very small textblocks. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@60185 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/canvas/evas_object_textblock.c b/src/lib/canvas/evas_object_textblock.c index ead8518..b8eb4de 100644 --- a/src/lib/canvas/evas_object_textblock.c +++ b/src/lib/canvas/evas_object_textblock.c @@ -3179,6 +3179,8 @@ _layout_get_charwrap(Ctxt *c, Evas_Object_Textblock_Format *fmt, } + if (uwrap == line_start) + MOVE_NEXT_UNTIL(len, uwrap); if ((uwrap <= line_start) || (uwrap > len)) return -1;