Evas textblock: Fix infinite loop case
authorDaniel Hirt <daniel.hirt@samsung.com>
Sun, 28 Jun 2015 12:02:28 +0000 (15:02 +0300)
committerDaniel Hirt <daniel.hirt@samsung.com>
Mon, 29 Jun 2015 13:43:49 +0000 (16:43 +0300)
commit0de8ebbb3a03797a188d34583b1eed94daea884b
tree4230671e70ca14be3aa1119c4909cef897f60e83
parente14c002aed046d69a4c4ee4b5f7f2abeaff11551
Evas textblock: Fix infinite loop case

This fixes a case with wrapping, where the text has a mixture of 'none'
and 'word' wrapping modes, and the layout function decides to
roll-back a few items.
The test case is added to the evas_suite.
This might not be a common case, or even a case we had defined a proper
behavior to, but since it causes an infinite loop, it needs to be fixed.

@fix
src/lib/evas/canvas/evas_object_textblock.c
src/tests/evas/evas_test_textblock.c