forked from enlightenment/efl
Evas linebreak: Fix wordbreak bug when there are chars < 0x0A.
The binary search used unsigned indexes which didn't work well in that scenario (would have gotten to -1). SVN revision: 66137
This commit is contained in:
parent
7974ea4cbf
commit
e34b9dd93c
|
@ -76,9 +76,9 @@ static enum WordBreakClass get_char_wb_class(
|
|||
struct WordBreakProperties *wbp,
|
||||
size_t len)
|
||||
{
|
||||
size_t min = 0;
|
||||
size_t max = len - 1;
|
||||
size_t mid;
|
||||
int min = 0;
|
||||
int max = len - 1;
|
||||
int mid;
|
||||
|
||||
do
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue