From 8c4a2db81c5b37c35239a121e1533f1ca4cdc15f Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Thu, 14 Jul 2011 19:22:19 +0000 Subject: [PATCH] fix printf output for name when skscalar is fixed git-svn-id: http://skia.googlecode.com/svn/trunk@1866 2bbb7eff-a529-9590-31e7-b0007b416f81 --- bench/BlurBench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/BlurBench.cpp b/bench/BlurBench.cpp index 9d71ca3f5..f868a105c 100644 --- a/bench/BlurBench.cpp +++ b/bench/BlurBench.cpp @@ -26,7 +26,7 @@ public: fRadius = rad; fStyle = bs; const char* name = rad > 0 ? gStyleName[bs] : "none"; - fName.printf("blur_%g_%s", rad, name); + fName.printf("blur_%d_%s", SkScalarRound(rad), name); } protected: