Index: fpdfsdk/src/fpdf_sysfontinfo.cpp |
diff --git a/fpdfsdk/src/fpdf_sysfontinfo.cpp b/fpdfsdk/src/fpdf_sysfontinfo.cpp |
index a0fdb5083d9d662b78d2462513f8ae787058e839..804efe3020cfdc9179c5b2e6581de139202ccf8f 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; |