Canvas text: fix non-dirty paragraph width calculation
authorDaniel Hirt <hirt.danny@gmail.com>
Tue, 29 Aug 2017 10:05:01 +0000 (13:05 +0300)
committerDaniel Hirt <hirt.danny@gmail.com>
Tue, 29 Aug 2017 14:07:15 +0000 (17:07 +0300)
commit048dcc32633f47a2bc8eaab856e3288b2c72abe6
tree4de1b6c079933841a0c8077b51a080294630f9a2
parent4337e776697b4add3c1fc6c4178542c7c76d0ad5
Canvas text: fix non-dirty paragraph width calculation

Follow-up fix for 1624417d9137b87826962e431d08dc591f83d5e5.
Changed for a max comparison, rather than just assigning the line's
width.
Also, added a test case.

Fixes T5939

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