summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2015-03-18 11:47:47 -0400
committerMike Morris <michael.patrick.morris@gmail.com>2015-03-18 11:47:47 -0400
commitae7bd9ac6ac12b37da0272ea7d1836f18a78ec10 (patch)
treec0ec54bdbefbc59bcee7a31414796671e2c31f19
parent1c276cbb763606fd0251f57fde03b279a039a31c (diff)
parent79148e15e6e610d3387dcbb4db00c3dd882abd01 (diff)
downloadqtlocation-mapboxgl-ae7bd9ac6ac12b37da0272ea7d1836f18a78ec10.tar.gz
Merge pull request #946 from friedbunny/931-fullwidth-block
Fix end of acceptable glyph/unicode range
-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 };
}