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

Commit acdd4b9c authored by Romain Guy's avatar Romain Guy
Browse files

Set the default text length to -1, not 1

Change-Id: Iccf6f8366c0b659ba7c90df99ae05ebc5d81fcbb
parent a8bfeaf4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -574,7 +574,7 @@ public:
    virtual void drawLines(float* points, int count, SkPaint* paint);
    virtual void drawPoints(float* points, int count, SkPaint* paint);
    virtual void drawText(const char* text, int bytesCount, int count, float x, float y,
            SkPaint* paint, float length = 1.0f);
            SkPaint* paint, float length = -1.0f);
    virtual void drawTextOnPath(const char* text, int bytesCount, int count, SkPath* path,
            float hOffset, float vOffset, SkPaint* paint);
    virtual void drawPosText(const char* text, int bytesCount, int count, const float* positions,