summaryrefslogtreecommitdiff
path: root/src/mbgl/text/glyph.cpp
diff options
context:
space:
mode:
authorJason Wray <jason@kulturny.com>2015-03-04 16:59:29 -0800
committerJason Wray <jason@kulturny.com>2015-03-04 16:59:29 -0800
commit79148e15e6e610d3387dcbb4db00c3dd882abd01 (patch)
tree5fe34b7bcfa8ca3512eadf1d64aaef6b3cf1712c /src/mbgl/text/glyph.cpp
parente07e9807325aee0cf74382d2326928d563ceab38 (diff)
downloadqtlocation-mapboxgl-79148e15e6e610d3387dcbb4db00c3dd882abd01.tar.gz
#931: fix end of acceptable glyph/unicode range
Diffstat (limited to 'src/mbgl/text/glyph.cpp')
-rw-r--r--src/mbgl/text/glyph.cpp2
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 };
}