Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bbefc866 authored by Xavier Ducrohet's avatar Xavier Ducrohet
Browse files

LayoutLib: Fix multi-line text rendering.

Stupid indices.

Change-Id: I1dbdd04b8f25a5769de8dc21e6c513cef3e35635
parent 402438bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1009,7 +1009,7 @@ public final class Canvas_Delegate {
    /*package*/ static void native_drawTextRun(int nativeCanvas, char[] text,
            int start, int count, int contextStart, int contextCount,
            float x, float y, int flags, int paint) {
        native_drawText(nativeCanvas, text, 0, count, x, y, flags, paint);
        native_drawText(nativeCanvas, text, start, count, x, y, flags, paint);
    }

    /*package*/ static void native_drawPosText(int nativeCanvas,