Index: core/src/fxge/ge/fx_ge_fontmap.cpp |
diff --git a/core/src/fxge/ge/fx_ge_fontmap.cpp b/core/src/fxge/ge/fx_ge_fontmap.cpp |
index d8f20469b3dd9ddea66413e0c6de794c6e68446c..90b3c52546fe03e2fc9d01085300e7d6289daae4 100644 |
--- a/core/src/fxge/ge/fx_ge_fontmap.cpp |
+++ b/core/src/fxge/ge/fx_ge_fontmap.cpp |
@@ -537,7 +537,7 @@ CFX_ByteString _FPDF_LoadTableFromTTStreamFile(IFX_FileStream* pFile, |
} |
CFX_ByteString CFX_FontMapper::GetPSNameFromTT(void* hFont) { |
if (m_pFontInfo == NULL) { |
- CFX_ByteString(); |
+ return CFX_ByteString(); |
} |
CFX_ByteString result; |
FX_DWORD size = m_pFontInfo->GetFontData(hFont, 0x6e616d65, NULL, 0); |