| Index: src/core/SkPaint.cpp
|
| diff --git a/src/core/SkPaint.cpp b/src/core/SkPaint.cpp
|
| index 88e5b432eb8d714bb4ae52d716844d22f01e537a..7ac2f076b1fafb7f62f2e4c43537e6a9b2de3f60 100644
|
| --- a/src/core/SkPaint.cpp
|
| +++ b/src/core/SkPaint.cpp
|
| @@ -924,7 +924,7 @@ static const SkGlyph& sk_getMetrics_utf32_xy(SkGlyphCache* cache,
|
| SkASSERT(text != NULL);
|
|
|
| const int32_t* ptr = *(const int32_t**)text;
|
| - SkUnichar uni = *--ptr;
|
| + SkUnichar uni = *ptr++;
|
| *text = (const char*)ptr;
|
| return cache->getUnicharMetrics(uni, x, y);
|
| }
|
|
|