mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
fix: make nvim_win_get_number() return win number (#14470)
Closes https://github.com/neovim/neovim/issues/14467
This commit is contained in:
parent
27da5511a0
commit
ef81999f4e
@ -381,7 +381,7 @@ Integer nvim_win_get_number(Window window, Error *err)
|
||||
}
|
||||
|
||||
int tabnr;
|
||||
win_get_tabwin(window, &tabnr, &rv);
|
||||
win_get_tabwin(win->handle, &tabnr, &rv);
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user