projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f0bcd9
)
eina: fix eina_file_iterator
author
Sebastian Dransfeld
<sd@tango.flipp.net>
Fri, 29 Jun 2012 20:37:33 +0000
(20:37 +0000)
committer
Sebastian Dransfeld
<sd@tango.flipp.net>
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.
SVN revision: 73054
legacy/eina/src/lib/eina_file.c
patch
|
blob
|
history
diff --git
a/legacy/eina/src/lib/eina_file.c
b/legacy/eina/src/lib/eina_file.c
index
b5dd5cd
..
5438aaf
100644
(file)
--- a/
legacy/eina/src/lib/eina_file.c
+++ b/
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);