Index: core/src/fpdfapi/fpdf_font/fpdf_font.cpp |
diff --git a/core/src/fpdfapi/fpdf_font/fpdf_font.cpp b/core/src/fpdfapi/fpdf_font/fpdf_font.cpp |
index b515d90a7fafd7363e9cf1cd5122ea4289f68971..4a71382da4c4d39af1b232e35782ff7c6a6c6c06 100644 |
--- a/core/src/fpdfapi/fpdf_font/fpdf_font.cpp |
+++ b/core/src/fpdfapi/fpdf_font/fpdf_font.cpp |
@@ -1519,7 +1519,7 @@ void CPDF_TrueTypeFont::LoadGlyphMap() { |
} |
} |
if ((m_GlyphIndex[charcode] == 0 || m_GlyphIndex[charcode] == 0xffff) && |
- name != NULL) { |
+ name) { |
if (name[0] == '.' && FXSYS_strcmp(name, ".notdef") == 0) { |
m_GlyphIndex[charcode] = FXFT_Get_Char_Index(m_Font.GetFace(), 32); |
} else { |