Index: core/src/fxge/apple/fx_mac_imp.cpp |
diff --git a/core/src/fxge/apple/fx_mac_imp.cpp b/core/src/fxge/apple/fx_mac_imp.cpp |
index 9918ba97e8e5c68e7c706023f2e571c11658e060..5a4e6603df26dd1068be4794086b7d6c0c2bbf50 100644 |
--- a/core/src/fxge/apple/fx_mac_imp.cpp |
+++ b/core/src/fxge/apple/fx_mac_imp.cpp |
@@ -93,7 +93,7 @@ void* CFX_MacFontInfo::MapFont(int weight, |
} |
return NULL; |
} |
-IFX_SystemFontInfo* IFX_SystemFontInfo::CreateDefault() { |
+IFX_SystemFontInfo* IFX_SystemFontInfo::CreateDefault(const char** pUnused) { |
CFX_MacFontInfo* pInfo = new CFX_MacFontInfo; |
pInfo->AddPath("~/Library/Fonts"); |
pInfo->AddPath("/Library/Fonts"); |
@@ -102,7 +102,7 @@ IFX_SystemFontInfo* IFX_SystemFontInfo::CreateDefault() { |
} |
void CFX_GEModule::InitPlatform() { |
m_pPlatformData = new CApplePlatform; |
- m_pFontMgr->SetSystemFontInfo(IFX_SystemFontInfo::CreateDefault()); |
+ m_pFontMgr->SetSystemFontInfo(IFX_SystemFontInfo::CreateDefault(nullptr)); |
} |
void CFX_GEModule::DestroyPlatform() { |
delete (CApplePlatform*)m_pPlatformData; |