From 79148e15e6e610d3387dcbb4db00c3dd882abd01 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Wed, 4 Mar 2015 16:59:29 -0800 Subject: [PATCH] #931: fix end of acceptable glyph/unicode range --- src/mbgl/text/glyph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbgl/text/glyph.cpp b/src/mbgl/text/glyph.cpp index f02c710db..3dca03504 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 }; }