Alexandre Julliard : winecfg: Don't offer vertical fonts in the font dialog .

Alexandre Julliard julliard at winehq.org
Tue Jun 25 14:41:24 CDT 2013


Module: wine
Branch: master
Commit: b07fb96a233b9ab9c217d1ca06fdea55e99e627f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b07fb96a233b9ab9c217d1ca06fdea55e99e627f

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jun 25 12:39:32 2013 +0200

winecfg: Don't offer vertical fonts in the font dialog.

---

 programs/winecfg/theme.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/winecfg/theme.c b/programs/winecfg/theme.c
index 98faf51..be57037 100644
--- a/programs/winecfg/theme.c
+++ b/programs/winecfg/theme.c
@@ -1106,7 +1106,7 @@ static void on_select_font(HWND hDlg)
     cf.lStructSize = sizeof(CHOOSEFONTW);
     cf.hwndOwner = hDlg;
     cf.lpLogFont = &(metrics[index].lf);
-    cf.Flags = CF_SCREENFONTS | CF_INITTOLOGFONTSTRUCT | CF_NOSCRIPTSEL;
+    cf.Flags = CF_SCREENFONTS | CF_INITTOLOGFONTSTRUCT | CF_NOSCRIPTSEL | CF_NOVERTFONTS;
 
     ChooseFontW(&cf);
 }




More information about the wine-cvs mailing list