From b5a5a9dc755a1655007ca05b2cc279773f3623ba Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Thu, 25 Oct 2012 17:58:23 +0000 Subject: [PATCH] don't send % by itself to printf git-svn-id: http://skia.googlecode.com/svn/trunk@6120 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gm/gmmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index 5ba3a8040..1b94853d7 100644 --- a/gm/gmmain.cpp +++ b/gm/gmmain.cpp @@ -1086,7 +1086,7 @@ int tool_main(int argc, char** argv) { if ((gmIndex % moduloCount) != moduloIndex) { continue; } - moduloStr.printf("[%d % %d] ", gmIndex, moduloCount); + moduloStr.printf("[%d.%d] ", gmIndex, moduloCount); } const char* shortName = gm->shortName();