Fix min columns

This commit is contained in:
Arun Prakash Jana 2021-05-06 22:33:55 +05:30
parent 0d21813b11
commit b58e9fc384
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -5758,7 +5758,7 @@ static void redraw(char *path)
move_cursor(cur, 1);
/* Fail redraw if < than 10 columns, context info prints 10 chars */
if (ncols < MIN_DISPLAY_COLS) {
if (ncols <= MIN_DISPLAY_COLS) {
printmsg(messages[MSG_FEW_COLUMNS]);
return;
}