api/ext_tabline: curtab should be a Tabpage handle.

This commit is contained in:
Justin M. Keyes
2017-04-28 07:01:46 +02:00
parent b90a59333f
commit 7044aa6e82
2 changed files with 3 additions and 3 deletions

View File

@@ -7035,7 +7035,7 @@ static void draw_tabline(void)
void ui_ext_tabline_update(void)
{
Array args = ARRAY_DICT_INIT;
ADD(args, INTEGER_OBJ(curtab->handle));
ADD(args, TABPAGE_OBJ(curtab->handle));
Array tabs = ARRAY_DICT_INIT;
FOR_ALL_TABS(tp) {
Dictionary tab_info = ARRAY_DICT_INIT;