updated for version 7.0022
diff --git a/src/gui.c b/src/gui.c
index 71b738c..8701d08 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -546,6 +546,10 @@
if (!im_xim_isvalid_imactivate())
EMSG(_("E599: Value of 'imactivatekey' is invalid"));
#endif
+ /* When 'cmdheight' was set during startup it may not have taken
+ * effect yet. */
+ if (p_ch != 1L)
+ command_height(1L);
return;
}
@@ -741,6 +745,7 @@
font = gui_mch_get_font(wide_name, FALSE);
if (font != NOFONT)
{
+ gui_mch_free_font(gui.wide_font);
gui.wide_font = font;
set_string_option_direct((char_u *)"gfw", -1,
wide_name, OPT_FREE);