1. ZyX_I
  2. vim

Commits

Bram Moolenaar  committed fbadf0f

updated for version 7.3.784
Problem: Error when 'guifontwide' has a comma.
Solution: Use gui.wide_font. (Taro Muraoka)

  • Participants
  • Parent commits 3bc0838
  • Branches default
  • Tags v7.3.784

Comments (0)

Files changed (2)

File src/gui_w48.c

View file
     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;

File src/version.c

View file
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    784,
+/**/
     783,
 /**/
     782,