Permalink
Browse files

updated for version 7.3.784

Problem:    Error when 'guifontwide' has a comma.
Solution:   Use gui.wide_font. (Taro Muraoka)
  • Loading branch information...
1 parent 48cf1e1 commit 065f43769e9f8852bdc5e972c8eead451e72a106 @brammool brammool committed Jan 25, 2013
Showing with 4 additions and 1 deletion.
  1. +2 −1 src/gui_w48.c
  2. +2 −0 src/version.c
View
3 src/gui_w48.c
@@ -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;
View
2 src/version.c
@@ -726,6 +726,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 784,
+/**/
783,
/**/
782,

0 comments on commit 065f437

Please sign in to comment.