summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fabrice Di Meglio <fdimeglio@google.com> 2011-10-20 18:58:03 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2011-10-20 18:58:03 -0700
commit44cd3f8f3daf45f85f6e977dcf28f75287fbb25b (patch)
tree5d632dcf15f07426e727942652abbfb0ff78c1c7
parent10b4503f2b3c3ad365a7adc73095a3280fc6bdfb (diff)
parenta99ed6284eac0b00686ca60c595a0b98beddcb79 (diff)
Merge "Fix compilation issue when DEBUG_GLYPHS define is activated"
-rw-r--r--core/jni/android/graphics/TextLayoutCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/jni/android/graphics/TextLayoutCache.cpp b/core/jni/android/graphics/TextLayoutCache.cpp
index 0b53850c5824..c2071501324f 100644
--- a/core/jni/android/graphics/TextLayoutCache.cpp
+++ b/core/jni/android/graphics/TextLayoutCache.cpp
@@ -534,7 +534,7 @@ void TextLayoutCacheValue::computeRunValuesWithHarfbuzz(HB_ShaperItem& shaperIte
#if DEBUG_GLYPHS
LOGD("HARFBUZZ -- num_glypth=%d - kerning_applied=%d", shaperItem.num_glyphs,
shaperItem.kerning_applied);
- LOGD(" -- string= '%s'", String8(chars + start, count).string());
+ LOGD(" -- string= '%s'", String8(shaperItem.string + start, count).string());
LOGD(" -- isDevKernText=%d", paint->isDevKernText());
logGlyphs(shaperItem);