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

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

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

---

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

diff --git a/programs/notepad/dialog.c b/programs/notepad/dialog.c
index 5878da8..1ea2ef9 100644
--- a/programs/notepad/dialog.c
+++ b/programs/notepad/dialog.c
@@ -1118,7 +1118,7 @@ VOID DIALOG_SelectFont(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) )
     {




More information about the wine-cvs mailing list