Reinstate a missing invocation of the FONT_QUALITY macro which I
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 18 Jul 2011 18:04:39 +0000 (18:04 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 18 Jul 2011 18:04:39 +0000 (18:04 +0000)
accidentally removed in the big config revamp.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9231 cda61777-01e9-0310-a592-d414129be87e

windows/window.c

index 102c470..b71f0bb 100644 (file)
@@ -1433,7 +1433,7 @@ static void init_fonts(int pick_width, int pick_height)
 #define f(i,c,w,u) \
     fonts[i] = CreateFont (font_height, font_width, 0, 0, w, FALSE, u, FALSE, \
                           c, OUT_DEFAULT_PRECIS, \
-                          CLIP_DEFAULT_PRECIS, quality, \
+                          CLIP_DEFAULT_PRECIS, FONT_QUALITY(quality), \
                           FIXED_PITCH | FF_DONTCARE, font->name)
 
     f(FONT_NORMAL, font->charset, fw_dontcare, FALSE);