Evas textblock: Fixed building without liblinebreak.

Thanks to David Seikel for spotting it and suggesting the solution.

SVN revision: 70123
This commit is contained in:
Tom Hacohen 2012-04-12 07:20:01 +00:00
parent 6a56e7473b
commit 3bfc5fe157
1 changed files with 3 additions and 3 deletions

View File

@ -6055,9 +6055,9 @@ evas_textblock_cursor_format_prev(Evas_Textblock_Cursor *cur)
#else
#define BREAK_AFTER(i) \
((!str[i + 1]) || \
(_is_white(str[i]) && !_is_white(str[i + 1])) || \
(!_is_white(str[i]) && _is_white(str[i + 1])))
((!text[i + 1]) || \
(_is_white(text[i]) && !_is_white(text[i + 1])) || \
(!_is_white(text[i]) && _is_white(text[i + 1])))
#endif