diff options
author | 2013-01-18 17:53:36 +0000 | |
---|---|---|
committer | 2013-01-18 17:53:36 +0000 | |
commit | f919b720a1f4a183dfcca916b00da26fd27327e3 (patch) | |
tree | 15ea525ad6fcd6421ecad630f2013bb89835daef | |
parent | 64d6295b0f6d500ccb3e8091adb2c334925dc388 (diff) |
in SkPath::dump(), add \n after close() printf, so we don't run into the next verb (e.g. moveTo)
git-svn-id: http://skia.googlecode.com/svn/trunk@7279 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/core/SkPath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp index c3ddf604f7..ac9b676e86 100644 --- a/src/core/SkPath.cpp +++ b/src/core/SkPath.cpp @@ -2160,7 +2160,7 @@ void SkPath::dump(bool forceClose, const char title[]) const { append_params(&builder, "path.cubicTo", &pts[1], 3); break; case kClose_Verb: - builder.append("path.close();"); + builder.append("path.close();\n"); break; default: SkDebugf(" path: UNKNOWN VERB %d, aborting dump...\n", verb); |