diff options
author | Sebastian Dransfeld <sd@tango.flipp.net> | 2012-06-29 20:37:33 +0000 |
---|---|---|
committer | Sebastian Dransfeld <sd@tango.flipp.net> | 2012-06-29 20:37:33 +0000 |
commit | d65c7572e913c9876f862184c83cd96e9c59ea34 (patch) | |
tree | 22542d28a7360c6d14aee7129bc7d7a269bb97c8 | |
parent | faa4287716acd92d9ada8f711035b796835e9997 (diff) | |
download | eina-d65c7572e913c9876f862184c83cd96e9c59ea34.tar.gz |
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
-rw-r--r-- | src/lib/eina_file.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/eina_file.c b/src/lib/eina_file.c index b5dd5cd..5438aaf 100644 --- a/src/lib/eina_file.c +++ b/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); |