diff options
-rw-r--r-- | src/mbgl/text/glyph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/text/glyph.cpp b/src/mbgl/text/glyph.cpp index f02c710db2..3dca03504c 100644 --- a/src/mbgl/text/glyph.cpp +++ b/src/mbgl/text/glyph.cpp @@ -7,7 +7,7 @@ GlyphRange getGlyphRange(char32_t glyph) { unsigned start = (glyph/256) * 256; unsigned end = (start + 255); if (start > 65280) start = 65280; - if (end > 65533) end = 65533; + if (end > 65535) end = 65535; return { start, end }; } |