eina: fix eina_file_iterator

Remove false check. When we reach the last line we want to return it.
This check will happen the next time we hit the next function.

SVN revision: 73054
devs/devilhorns/wayland_egl
Sebastian Dransfeld 11 years ago
parent 4f0bcd9b29
commit 979ef9217c
  1. 3
      legacy/eina/src/lib/eina_file.c

@ -1190,9 +1190,6 @@ _eina_file_map_lines_iterator_next(Eina_Lines_Iterator *it, void **data)
}
it->current.line.index++;
if (it->current.line.end == it->end)
return EINA_FALSE;
eol = _eina_fine_eol(it->current.line.end,
it->boundary,
it->end);

Loading…
Cancel
Save