From e84e387e9423404df028c41ffa0ad17c66a25b0e Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 27 May 2016 09:31:57 +0200 Subject: [PATCH] Fix 1 character entries in git. --- source/history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.