Fix indentation

This commit is contained in:
Arun Prakash Jana 2020-09-29 20:13:17 +05:30
parent c235c0f5c8
commit 0581c3f1c7
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 1 deletions

View File

@ -5974,7 +5974,7 @@ nochange:
/* Scroll up */
if (event.bstate == BUTTON4_PRESSED && ndents && (cfg.rollover || cur)) {
if (!cfg.rollover && cur < scroll_lines)
move_cursor(0,0);
move_cursor(0, 0);
else
move_cursor((cur + ndents - scroll_lines) % ndents, 0);
break;