projects
/
profile
/
ivi
/
eina.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24fa8ae
)
eina: fix eina_file_iterator
author
englebass
<englebass>
Fri, 29 Jun 2012 20:37:33 +0000
(20:37 +0000)
committer
englebass
<englebass@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 29 Jun 2012 20:37:33 +0000
(20:37 +0000)
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
patch
|
blob
|
history
diff --git
a/src/lib/eina_file.c
b/src/lib/eina_file.c
index
b5dd5cd
..
5438aaf
100644
(file)
--- 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);