From 8bb8710815d37302b3821514d5d03efb021e718e Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Tue, 30 Jun 2020 10:24:56 +0900 Subject: [PATCH] test svg: remove white trailings Change-Id: Ie23ffdd420eb9742b21350dfffd5b29ae0515be3 --- test/testSvg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testSvg.cpp b/test/testSvg.cpp index 938d37a5..4da0349c 100644 --- a/test/testSvg.cpp +++ b/test/testSvg.cpp @@ -20,7 +20,7 @@ void svgDirCallback(const char* name, const char* path, void* data) sprintf(buf,"%s/%s", path, name); scene->load(buf); - scene->translate(((WIDTH - (x * 2)) / NUM_PER_LINE) * (count % NUM_PER_LINE) + x, ((HEIGHT - (y * 2))/ NUM_PER_LINE) * (int)((float)count / (float)NUM_PER_LINE) + y); + scene->translate(((WIDTH - (x * 2)) / NUM_PER_LINE) * (count % NUM_PER_LINE) + x, ((HEIGHT - (y * 2))/ NUM_PER_LINE) * (int)((float)count / (float)NUM_PER_LINE) + y); canvas->push(move(scene)); count++;