From 0b57b07218dbefd4fe357debe5f906cb46b3cb76 Mon Sep 17 00:00:00 2001 From: englebass Date: Fri, 29 Jun 2012 20:37:33 +0000 Subject: [PATCH] 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. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@73054 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_file.c | 3 --- 1 file changed, 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); -- 2.7.4