don't send % by itself to printf
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 25 Oct 2012 17:58:23 +0000 (17:58 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 25 Oct 2012 17:58:23 +0000 (17:58 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@6120 2bbb7eff-a529-9590-31e7-b0007b416f81

gm/gmmain.cpp

index 5ba3a80..1b94853 100644 (file)
@@ -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();