From f07892413cd2359549dc187f1d10bc48d7d263ba Mon Sep 17 00:00:00 2001 From: epoger Date: Mon, 2 Jun 2014 13:35:22 -0700 Subject: [PATCH] stop using brackets within skimage output filenames BUG=skia:2634 R=scroggo@google.com Author: epoger@google.com Review URL: https://codereview.chromium.org/303263012 --- tools/skimage_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/skimage_main.cpp b/tools/skimage_main.cpp index e5610ea569..0e0c2196a7 100644 --- a/tools/skimage_main.cpp +++ b/tools/skimage_main.cpp @@ -595,7 +595,7 @@ static void decodeFileAndWrite(const char srcPath[], const SkString* writePath) SkBitmap bitmapFromDecodeSubset; // FIXME: Come up with a more representative set of rectangles. SkIRect rect = generate_random_rect(&rand, width, height); - SkString subsetDim = SkStringPrintf("[%d,%d,%d,%d]", rect.fLeft, rect.fTop, + SkString subsetDim = SkStringPrintf("(%d,%d,%d,%d)", rect.fLeft, rect.fTop, rect.fRight, rect.fBottom); if (codec->decodeSubset(&bitmapFromDecodeSubset, rect, gPrefConfig)) { SkString subsetName = SkStringPrintf("%s-%s", filename, subsetDim.c_str());