Fixed PathUtils.cpp:90
Fixed the float being passed to an int method
Fixed the bugs that crashed the build bots
git-svn-id: http://skia.googlecode.com/svn/trunk@9846 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/utils/SkPathUtils.cpp b/src/utils/SkPathUtils.cpp
index 499aecf..f0bea40 100644
--- a/src/utils/SkPathUtils.cpp
+++ b/src/utils/SkPathUtils.cpp
@@ -87,7 +87,7 @@
path->addRect(SkRect::MakeXYWH(start, lineIdx,
width - SK_Scalar1 + end - start, SK_Scalar1),
SkPath::kCW_Direction);
- } else if ( GetBit(line, width - SK_Scalar1) ) { // if last pixel on add
+ } else if ( GetBit(line, width - 1) ) { // if last pixel on add
path->addRect(SkRect::MakeXYWH(width - SK_Scalar1, lineIdx,
SK_Scalar1, SK_Scalar1),
SkPath::kCW_Direction);