summaryrefslogtreecommitdiffstats
path: root/source/history.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-05-27 09:31:57 +0200
committerDave Davenport <qball@gmpclient.org>2016-05-27 09:31:57 +0200
commite84e387e9423404df028c41ffa0ad17c66a25b0e (patch)
tree34823dd51c8cf3113fb0b88cebea635ff0267ae6 /source/history.c
parentf901494c6a8826023902ced568f24c39300788f4 (diff)
Fix 1 character entries in git.
Diffstat (limited to 'source/history.c')
-rw-r--r--source/history.c2
1 files changed, 1 insertions, 1 deletions
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.