summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/cdtest/drivers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cdtest/drivers.c b/test/cdtest/drivers.c
index dd23331..2387741 100644
--- a/test/cdtest/drivers.c
+++ b/test/cdtest/drivers.c
@@ -211,7 +211,7 @@ static int fSVG(void)
if (IupGetFile(filename)>=0)
{
- sprintf(data, "%s -s%d", filename, (int)(ctgc.res * 25.4));
+ sprintf(data, "%s %gx%g %g", filename, ((double)ctgc.w)/ctgc.res, ((double)ctgc.h)/ctgc.res, ctgc.res);
return SaveCanvas("CD_SVG", CD_SVG, data);
}