Mercurial > vim
comparison src/gui.c @ 37:fdf55076c53f
updated for version 7.0022
author | vimboss |
---|---|
date | Sun, 12 Dec 2004 11:33:30 +0000 |
parents | 726bdc53fa49 |
children | 410fa1a31baf |
comparison
equal
deleted
inserted
replaced
36:125e80798a85 | 37:fdf55076c53f |
---|---|
544 #endif | 544 #endif |
545 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) | 545 #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK) |
546 if (!im_xim_isvalid_imactivate()) | 546 if (!im_xim_isvalid_imactivate()) |
547 EMSG(_("E599: Value of 'imactivatekey' is invalid")); | 547 EMSG(_("E599: Value of 'imactivatekey' is invalid")); |
548 #endif | 548 #endif |
549 /* When 'cmdheight' was set during startup it may not have taken | |
550 * effect yet. */ | |
551 if (p_ch != 1L) | |
552 command_height(1L); | |
549 | 553 |
550 return; | 554 return; |
551 } | 555 } |
552 | 556 |
553 error2: | 557 error2: |
739 /* Double the width specification. */ | 743 /* Double the width specification. */ |
740 sprintf((char *)wp, "%d%s", i * 2, p); | 744 sprintf((char *)wp, "%d%s", i * 2, p); |
741 font = gui_mch_get_font(wide_name, FALSE); | 745 font = gui_mch_get_font(wide_name, FALSE); |
742 if (font != NOFONT) | 746 if (font != NOFONT) |
743 { | 747 { |
748 gui_mch_free_font(gui.wide_font); | |
744 gui.wide_font = font; | 749 gui.wide_font = font; |
745 set_string_option_direct((char_u *)"gfw", -1, | 750 set_string_option_direct((char_u *)"gfw", -1, |
746 wide_name, OPT_FREE); | 751 wide_name, OPT_FREE); |
747 } | 752 } |
748 } | 753 } |