diff options
Diffstat (limited to 'poppler/GfxFont.cc')
-rw-r--r-- | poppler/GfxFont.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poppler/GfxFont.cc b/poppler/GfxFont.cc index 21e8693d..9652617c 100644 --- a/poppler/GfxFont.cc +++ b/poppler/GfxFont.cc @@ -1251,7 +1251,7 @@ Gfx8BitFont::Gfx8BitFont(XRef *xref, const char *tagA, Ref idA, std::optional<st // pass 1: use the name-to-Unicode mapping table missing = hex = false; - bool isZapfDingbats = name && GooString::endsWith(*name, "ZapfDingbats"); + bool isZapfDingbats = name && name->ends_with("ZapfDingbats"); for (int code = 0; code < 256; ++code) { if ((charName = enc[code])) { if (isZapfDingbats) { |