| 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 3ef5c45d4c151a42bacd28b1a431c74ed617b9fd..63d81816568a673d16085f7063862f69a295f9de 100644
|
| --- a/core/src/fxge/ge/fx_ge_fontmap.cpp
|
| +++ b/core/src/fxge/ge/fx_ge_fontmap.cpp
|
| @@ -551,7 +551,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);
|
|
|