From bad62e9a44f446eb78de3d4368d1385a58156797 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 1 Jul 2018 14:33:10 +0200 Subject: Rework gfxFontUtils::MapCharToGlyphFormat4 to be more robust. DiD --- gfx/thebes/gfxFontUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/thebes/gfxFontUtils.h') diff --git a/gfx/thebes/gfxFontUtils.h b/gfx/thebes/gfxFontUtils.h index dd6a76558..1e87e5436 100644 --- a/gfx/thebes/gfxFontUtils.h +++ b/gfx/thebes/gfxFontUtils.h @@ -804,7 +804,7 @@ public: bool& aUnicodeFont, bool& aSymbolFont); static uint32_t - MapCharToGlyphFormat4(const uint8_t *aBuf, char16_t aCh); + MapCharToGlyphFormat4(const uint8_t *aBuf, uint32_t aLength, char16_t aCh); static uint32_t MapCharToGlyphFormat10(const uint8_t *aBuf, uint32_t aCh); -- cgit v1.2.3