diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-07-01 14:33:10 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-07-01 14:33:10 +0200 |
commit | bad62e9a44f446eb78de3d4368d1385a58156797 (patch) | |
tree | 4090ec90837d77bfbf6ca71b2d7f4a15d319a4bd /gfx/thebes/gfxFontUtils.h | |
parent | ca3a3b63eed0de7d86291dab8479dcc3e4fc4b8f (diff) | |
download | UXP-bad62e9a44f446eb78de3d4368d1385a58156797.tar UXP-bad62e9a44f446eb78de3d4368d1385a58156797.tar.gz UXP-bad62e9a44f446eb78de3d4368d1385a58156797.tar.lz UXP-bad62e9a44f446eb78de3d4368d1385a58156797.tar.xz UXP-bad62e9a44f446eb78de3d4368d1385a58156797.zip |
Rework gfxFontUtils::MapCharToGlyphFormat4 to be more robust. DiD
Diffstat (limited to 'gfx/thebes/gfxFontUtils.h')
-rw-r--r-- | gfx/thebes/gfxFontUtils.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |