aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index bf536f7203d..20833978926 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -4808,7 +4808,7 @@ enum_font_cb2 (lplf, lptm, FontType, lpef)
4808 { 4808 {
4809 char buf[100]; 4809 char buf[100];
4810 4810
4811 if (!NILP (*(lpef->pattern)) && FontType == TRUETYPE_FONTTYPE) 4811 if (!NILP (*(lpef->pattern)) && FontType != RASTER_FONTTYPE)
4812 { 4812 {
4813 lplf->elfLogFont.lfHeight = lpef->logfont.lfHeight; 4813 lplf->elfLogFont.lfHeight = lpef->logfont.lfHeight;
4814 lplf->elfLogFont.lfWidth = lpef->logfont.lfWidth; 4814 lplf->elfLogFont.lfWidth = lpef->logfont.lfWidth;