diff --git a/source/history.c b/source/history.c index 3b2de37a..d404d36b 100644 --- a/source/history.c +++ b/source/history.c @@ -99,7 +99,7 @@ static _element ** __history_get_element_list ( FILE *fd, unsigned int *length ) continue; } start++; - if ( ( l - ( start - buffer ) ) < 3 ) { + if ( ( l - ( start - buffer ) ) < 2 ) { continue; } // Resize and check.