]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.784 v7.3.784
authorBram Moolenaar <Bram@vim.org>
Fri, 25 Jan 2013 18:28:38 +0000 (19:28 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 25 Jan 2013 18:28:38 +0000 (19:28 +0100)
Problem:    Error when 'guifontwide' has a comma.
Solution:   Use gui.wide_font. (Taro Muraoka)

src/gui_w48.c
src/version.c

index 0a7f367e87e01cb6272f53689eb1c5d07bcef59f..2a5f696512c1dd1c8b9a45a2aae1c92ad91f280d 100644 (file)
@@ -3107,7 +3107,8 @@ update_im_font()
     LOGFONT    lf_wide;
 
     if (p_guifontwide != NULL && *p_guifontwide != NUL
-           && get_logfont(&lf_wide, p_guifontwide, NULL, TRUE) == OK)
+           && gui.wide_font != NOFONT
+           && GetObject((HFONT)gui.wide_font, sizeof(lf_wide), &lf_wide))
        norm_logfont = lf_wide;
     else
        norm_logfont = sub_logfont;
index cd838d41bf1ed297c8655368bf3a4225d993da27..9a94c54da62e3adf8410662aa7841623e6c82dd2 100644 (file)
@@ -725,6 +725,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    784,
 /**/
     783,
 /**/