summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--el.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/el.c b/el.c
index 87dd7fb..0af852a 100644
--- a/el.c
+++ b/el.c
@@ -99,6 +99,7 @@ static uint8_t * scanforline( EL_FILE *file, const long lineno, long *size ) {
99 // store pointer 99 // store pointer
100 if( scanline == e_o_f ) { 100 if( scanline == e_o_f ) {
101 file->all_lines_scanned = 1; 101 file->all_lines_scanned = 1;
102 file->index[file->index_filled] = e_o_f;
102 if( file->index_filled == lineno + 1 ) 103 if( file->index_filled == lineno + 1 )
103 goto return_line; 104 goto return_line;
104 return NULL; 105 return NULL;