Index: fpdfsdk/src/fpdf_sysfontinfo.cpp |
diff --git a/fpdfsdk/src/fpdf_sysfontinfo.cpp b/fpdfsdk/src/fpdf_sysfontinfo.cpp |
index 53610b040ece655c9c26c0de4436566d40cd03d1..a004e86ba17872cb93549b834116af269d9f04b7 100644 |
--- a/fpdfsdk/src/fpdf_sysfontinfo.cpp |
+++ b/fpdfsdk/src/fpdf_sysfontinfo.cpp |
@@ -168,7 +168,7 @@ static void DefaultDeleteFont(struct _FPDF_SYSFONTINFO* pThis, void* hFont) { |
} |
DLLEXPORT FPDF_SYSFONTINFO* STDCALL FPDF_GetDefaultSystemFontInfo() { |
- IFX_SystemFontInfo* pFontInfo = IFX_SystemFontInfo::CreateDefault(); |
+ IFX_SystemFontInfo* pFontInfo = IFX_SystemFontInfo::CreateDefault(nullptr); |
if (pFontInfo == NULL) |
return NULL; |