diff options
Diffstat (limited to 'samplecode/SampleStringArt.cpp')
-rw-r--r-- | samplecode/SampleStringArt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samplecode/SampleStringArt.cpp b/samplecode/SampleStringArt.cpp index c6547ed4fa..353d4cc957 100644 --- a/samplecode/SampleStringArt.cpp +++ b/samplecode/SampleStringArt.cpp @@ -37,7 +37,7 @@ protected: SkPath path; path.moveTo(center); - while (length < (SkScalarHalf(SkMin32(this->width(), this->height())) - 10.f)) + while (length < (SkScalarHalf(SkMinScalar(this->width(), this->height())) - 10.f)) { SkPoint rp = SkPoint::Make(length*SkScalarCos(step) + center.fX, length*SkScalarSin(step) + center.fY); |