http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed4af17
)
comdlg32: Use the CF_SELECTSCRIPT flag instead the obsolete CF_ANSIONLY in AddFontFam...
author
Ilya Shpigor
<shpigor@etersoft.ru>
Wed, 24 Feb 2010 12:01:08 +0000
(15:01 +0300)
committer
Ilya Shpigor
<shpigor@etersoft.ru>
Wed, 24 Feb 2010 12:01:08 +0000
(15:01 +0300)
dlls/comdlg32/fontdlg.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/comdlg32/fontdlg.c
b/dlls/comdlg32/fontdlg.c
index b57610147a6766ab1b56ee2f6915ffe632359c22..0bdce719e0e5925e40770edb436ab01c50a4f658 100644
(file)
--- a/
dlls/comdlg32/fontdlg.c
+++ b/
dlls/comdlg32/fontdlg.c
@@
-311,8
+311,8
@@
INT AddFontFamily(const ENUMLOGFONTEXW *lpElfex, const NEWTEXTMETRICEXW *lpNTM,
if (lpcf->Flags & CF_FIXEDPITCHONLY)
if (!(lplf->lfPitchAndFamily & FIXED_PITCH))
return 1;
- if (lpcf->Flags & CF_
ANSIONLY
)
- if (lplf->lfCharSet !=
ANSI_CHARSET
)
+ if (lpcf->Flags & CF_
SELECTSCRIPT
)
+ if (lplf->lfCharSet !=
lpcf->lpLogFont->lfCharSet
)
return 1;
if (lpcf->Flags & CF_TTONLY)
if (!(nFontType & TRUETYPE_FONTTYPE))