mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 14:58:18 +00:00
refactor: follow style guide
This commit is contained in:
@@ -291,7 +291,7 @@ linenr_T get_cursor_rel_lnum(win_T *wp, linenr_T lnum)
|
||||
// Loop until we reach to_line, skipping folds.
|
||||
for (; from_line < to_line; from_line++, retval++) {
|
||||
// If from_line is in a fold, set it to the last line of that fold.
|
||||
(void)hasFoldingWin(wp, from_line, NULL, &from_line, true, NULL);
|
||||
hasFoldingWin(wp, from_line, NULL, &from_line, true, NULL);
|
||||
}
|
||||
|
||||
// If to_line is in a closed fold, the line count is off by +1. Correct it.
|
||||
|
Reference in New Issue
Block a user