Alexandre Julliard : clock: 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: 2088c36c19f3a4e4fa7ea8612640e05e305a8089
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2088c36c19f3a4e4fa7ea8612640e05e305a8089

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

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

---

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

diff --git a/programs/clock/main.c b/programs/clock/main.c
index 048b1aa..04bfe64 100644
--- a/programs/clock/main.c
+++ b/programs/clock/main.c
@@ -144,7 +144,7 @@ static VOID CLOCK_ChooseFont(VOID)
     cf.lStructSize = sizeof(cf);
     cf.hwndOwner = Globals.hMainWnd;
     cf.lpLogFont = &lf;
-    cf.Flags = CF_SCREENFONTS | CF_INITTOLOGFONTSTRUCT;
+    cf.Flags = CF_SCREENFONTS | CF_INITTOLOGFONTSTRUCT | CF_NOVERTFONTS;
     if (ChooseFontW(&cf)) {
 	Globals.logfont = lf;
 	CLOCK_ResetFont();




More information about the wine-cvs mailing list