1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Fix 1 character entries in git.

This commit is contained in:
Dave Davenport 2016-05-27 09:31:57 +02:00
parent f901494c6a
commit e84e387e94

View file

@ -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.