diff options
Diffstat (limited to 'src/mbgl/text/glyph.cpp')
-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 29929b73e6..74863d7435 100644 --- a/src/mbgl/text/glyph.cpp +++ b/src/mbgl/text/glyph.cpp @@ -3,7 +3,7 @@ namespace mbgl { // Note: this only works for the BMP -GlyphRange getGlyphRange(char16_t glyph) { +GlyphRange getGlyphRange(GlyphID glyph) { unsigned start = (glyph/256) * 256; unsigned end = (start + 255); if (start > 65280) start = 65280; |