mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Fix indentation
This commit is contained in:
parent
c235c0f5c8
commit
0581c3f1c7
|
@ -5974,7 +5974,7 @@ nochange:
|
||||||
/* Scroll up */
|
/* Scroll up */
|
||||||
if (event.bstate == BUTTON4_PRESSED && ndents && (cfg.rollover || cur)) {
|
if (event.bstate == BUTTON4_PRESSED && ndents && (cfg.rollover || cur)) {
|
||||||
if (!cfg.rollover && cur < scroll_lines)
|
if (!cfg.rollover && cur < scroll_lines)
|
||||||
move_cursor(0,0);
|
move_cursor(0, 0);
|
||||||
else
|
else
|
||||||
move_cursor((cur + ndents - scroll_lines) % ndents, 0);
|
move_cursor((cur + ndents - scroll_lines) % ndents, 0);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue