From a99ed6284eac0b00686ca60c595a0b98beddcb79 Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Fri, 14 Oct 2011 12:08:02 -0700 Subject: Fix compilation issue when DEBUG_GLYPHS define is activated Change-Id: I61693952ffdc02f77058311fc982fbbf8df24c6c --- core/jni/android/graphics/TextLayoutCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-59-g8ed1b