... | ... |
@@ -197,7 +197,7 @@ redata_prototypes_get(redata_t *redata, long pos) |
197 | 197 |
chunk=redata->chunks[numchunk]; |
198 | 198 |
for(;offset>=0;offset--) { |
199 | 199 |
c=chunk->data[offset]; |
200 |
- if(c=='\n') { |
|
200 |
+ if(c=='\n' && !(numchunk==savednumchunk && offset==savedoffset)) { |
|
201 | 201 |
status=searching_ended; |
202 | 202 |
break; |
203 | 203 |
} |