aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar kkinnunen <kkinnunen@nvidia.com>2015-05-19 13:50:50 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-19 13:50:50 -0700
commit503bd77b8987ff611f870698fd846d1a24825bea (patch)
tree9dbfa9d7039501a944c32d11bcd86f308376b4e0 /tools
parent9db912c2ac2ab53bc24f2d50a3e5a80162051dcc (diff)
Add a newline to the font load debug message
Add a newline to the font load debug message. Helps reading nanobench results. Otherwise the message "Resource /fonts/Funkster.ttf not a valid font." causes first result be hard to read or missing. Review URL: https://codereview.chromium.org/1142183002
Diffstat (limited to 'tools')
-rw-r--r--tools/Resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Resources.cpp b/tools/Resources.cpp
index 4767edde5f..4c3db1e90c 100644
--- a/tools/Resources.cpp
+++ b/tools/Resources.cpp
@@ -48,7 +48,7 @@ SkTypeface* GetResourceAsTypeface(const char* resource) {
}
SkAutoTUnref<SkTypeface> typeface(SkTypeface::CreateFromStream(stream.detach()));
if (!typeface) {
- SkDebugf("Resource %s not a valid font.", resource);
+ SkDebugf("Resource %s not a valid font.\n", resource);
}
return typeface.detach();
}