mirror of
https://github.com/vim/vim.git
synced 2025-11-05 09:57:25 -05:00
patch 9.1.0716: resetting setcellwidth() doesn't update the screen
Problem: resetting setcellwidth() doesn't update the screen Solution: Redraw after clearing the cellwidth table (Ken Takata) closes: #15628 Signed-off-by: Ken Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
150b5078ac
commit
539e9b571a
@@ -5644,7 +5644,7 @@ f_setcellwidths(typval_T *argvars, typval_T *rettv UNUSED)
|
||||
// Clearing the table.
|
||||
VIM_CLEAR(cw_table);
|
||||
cw_table_size = 0;
|
||||
return;
|
||||
goto done;
|
||||
}
|
||||
|
||||
ptrs = ALLOC_MULT(listitem_T *, l->lv_len);
|
||||
@@ -5756,6 +5756,7 @@ f_setcellwidths(typval_T *argvars, typval_T *rettv UNUSED)
|
||||
}
|
||||
|
||||
vim_free(cw_table_save);
|
||||
done:
|
||||
changed_window_setting_all();
|
||||
redraw_all_later(UPD_CLEAR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user