Change append to appendf for call sites with no format arguments.
Original CL: http://codereview.appspot.com/5685062/
Review URL: https://codereview.appspot.com/5686059
git-svn-id: http://skia.googlecode.com/svn/trunk@3225 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/WArrayTest.cpp b/tests/WArrayTest.cpp
index 428ca5f..daab543 100644
--- a/tests/WArrayTest.cpp
+++ b/tests/WArrayTest.cpp
@@ -108,7 +108,7 @@
bool leadingSpace = false;
while (data != NULL) {
if (leadingSpace) {
- result.appendf(" ");
+ result.append(" ");
} else {
leadingSpace = true;
}
@@ -121,11 +121,11 @@
result.appendf("%d[", data->fStartId);
for (int i = 0; i < data->fAdvance.count(); ++i) {
if (i > 0) {
- result.appendf(" ");
+ result.append(" ");
}
result.appendf("%d", data->fAdvance[i]);
}
- result.appendf("]");
+ result.append("]");
break;
case SkAdvancedTypefaceMetrics::AdvanceMetric<int16_t>::kDefault:
result.appendf("<Default=%d>", data->fAdvance[0]);