forked from aniani/vim
updated for version 7.0116
This commit is contained in:
@@ -7107,7 +7107,9 @@ set_num_option(opt_idx, varp, value, errbuf, errbuflen, opt_flags)
|
||||
#ifdef FEAT_GUI
|
||||
else if (pp == &p_linespace)
|
||||
{
|
||||
if (gui.in_use && gui_mch_adjust_charsize() == OK)
|
||||
/* Recompute gui.char_height and resize the Vim window to keep the
|
||||
* same number of lines. */
|
||||
if (gui.in_use && gui_mch_adjust_charheight() == OK)
|
||||
gui_set_shellsize(FALSE, FALSE);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user