forked from enlightenment/efl
eina/file - revert 18be4c50d9
I realized that's not a bug in eina but user usage was inccorect. revert the patch @fix
This commit is contained in:
parent
0650797825
commit
328d28a7f4
|
@ -573,8 +573,7 @@ _eina_file_map_lines_iterator_next(Eina_Lines_Iterator *it, void **data)
|
||||||
it->current.start = it->current.end;
|
it->current.start = it->current.end;
|
||||||
|
|
||||||
it->current.end = eol;
|
it->current.end = eol;
|
||||||
it->current.length = eol - it->current.start;
|
it->current.length = eol - it->current.start - 1;
|
||||||
if (eol < it->end) it->current.length--;
|
|
||||||
|
|
||||||
*data = &it->current;
|
*data = &it->current;
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
|
|
Loading…
Reference in New Issue