Skip to content

Commit a99ed62

Browse files
author
Fabrice Di Meglio
committed
Fix compilation issue when DEBUG_GLYPHS define is activated
Change-Id: I61693952ffdc02f77058311fc982fbbf8df24c6c
1 parent 9b61778 commit a99ed62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/jni/android/graphics/TextLayoutCache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ void TextLayoutCacheValue::computeRunValuesWithHarfbuzz(HB_ShaperItem& shaperIte
534534
#if DEBUG_GLYPHS
535535
LOGD("HARFBUZZ -- num_glypth=%d - kerning_applied=%d", shaperItem.num_glyphs,
536536
shaperItem.kerning_applied);
537-
LOGD(" -- string= '%s'", String8(chars + start, count).string());
537+
LOGD(" -- string= '%s'", String8(shaperItem.string + start, count).string());
538538
LOGD(" -- isDevKernText=%d", paint->isDevKernText());
539539

540540
logGlyphs(shaperItem);

0 commit comments

Comments
 (0)