Index: core/fxge/win32/fx_win32_device.cpp |
diff --git a/core/fxge/win32/fx_win32_device.cpp b/core/fxge/win32/fx_win32_device.cpp |
index f83ac3277cbcd281bcb407f0d43ddcc9b8056c7c..7b8a4faa5590671d38d0400cb0c34aa02c883a78 100644 |
--- a/core/fxge/win32/fx_win32_device.cpp |
+++ b/core/fxge/win32/fx_win32_device.cpp |
@@ -147,9 +147,6 @@ static int CALLBACK FontEnumProc(const LOGFONTA* plf, |
uint32_t FontType, |
LPARAM lParam) { |
CFX_Win32FontInfo* pFontInfo = (CFX_Win32FontInfo*)lParam; |
- if (pFontInfo->m_pMapper->GetFontEnumerator()) { |
- pFontInfo->m_pMapper->GetFontEnumerator()->HitFont(); |
- } |
pFontInfo->AddInstalledFont(plf, FontType); |
return 1; |
} |
@@ -162,9 +159,6 @@ FX_BOOL CFX_Win32FontInfo::EnumFontList(CFX_FontMapper* pMapper) { |
lf.lfPitchAndFamily = 0; |
EnumFontFamiliesExA(m_hDC, &lf, (FONTENUMPROCA)FontEnumProc, (uintptr_t) this, |
0); |
- if (pMapper->GetFontEnumerator()) { |
- pMapper->GetFontEnumerator()->Finish(); |
- } |
return TRUE; |
} |
static const struct { |