mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00

committed by
Justin M. Keyes

parent
4524053874
commit
5c9860a0a2
@@ -193,6 +193,8 @@ Boolean nvim_tabpage_is_valid(Tabpage tabpage)
|
||||
FUNC_API_SINCE(1)
|
||||
{
|
||||
Error stub = ERROR_INIT;
|
||||
return find_tab_by_handle(tabpage, &stub) != NULL;
|
||||
Boolean ret = find_tab_by_handle(tabpage, &stub) != NULL;
|
||||
xfree(stub.msg);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user