fix typo: must use modified join in case the miterlimit forces us to use bevel
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 21 Nov 2012 16:36:34 +0000 (16:36 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 21 Nov 2012 16:36:34 +0000 (16:36 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@6530 2bbb7eff-a529-9590-31e7-b0007b416f81

src/core/SkStroke.cpp

index 6d3b4fd4bc2bd150b25f81fffb03a2b5adc479cb..729ec4e544cd3c880d7b5bff241ea5bffd9c048b 100644 (file)
@@ -776,7 +776,7 @@ void SkStroke::strokeRect(const SkRect& origRect, SkPath* dst,
         join = SkPaint::kBevel_Join;
     }
 
-    switch (fJoin) {
+    switch (join) {
         case SkPaint::kMiter_Join:
             dst->addRect(r, dir);
             break;