Index: samplecode/SampleStringArt.cpp |
diff --git a/samplecode/SampleStringArt.cpp b/samplecode/SampleStringArt.cpp |
index c6547ed4fa8689788c061da75d8823aaef8bbd38..353d4cc957a8fb130ab9b288f06843fd2a930de4 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); |