diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2019-07-22 23:44:33 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2019-07-25 10:51:22 +0800 |
commit | 47310a9dee07d092142be15a2146fe90ab3ad08a (patch) | |
tree | 14253d85deb3e33f2fa33e579e3ed5d8af949ca2 /pango/pangowin32-fontmap.c | |
parent | 338495ce613f802b051bca0c32a96c5e3ff759e6 (diff) | |
download | pango-47310a9dee07d092142be15a2146fe90ab3ad08a.tar.gz |
PangoWin32: Drop _pango_win32_os_version_info
We don't need this anymore since we need Vista or later to run.
Diffstat (limited to 'pango/pangowin32-fontmap.c')
-rw-r--r-- | pango/pangowin32-fontmap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c index 30d3fa77..eb84c164 100644 --- a/pango/pangowin32-fontmap.c +++ b/pango/pangowin32-fontmap.c @@ -209,9 +209,7 @@ pango_win32_enum_proc (LOGFONTW *lfp, PING (("%S: %lu %lx", lfp->lfFaceName, fontType, metrics->ntmFlags)); - if (fontType == TRUETYPE_FONTTYPE || - (_pango_win32_os_version_info.dwMajorVersion >= 5 && - ((metrics->ntmFlags & NTM_PS_OPENTYPE) || (metrics->ntmFlags & NTM_TYPE1)))) + if (fontType == TRUETYPE_FONTTYPE || ((metrics->ntmFlags & NTM_PS_OPENTYPE) || (metrics->ntmFlags & NTM_TYPE1))) { lf = *lfp; |