summaryrefslogtreecommitdiff
path: root/test/cdtest/drivers.c
diff options
context:
space:
mode:
authorscuri <scuri>2010-02-26 05:14:38 +0000
committerscuri <scuri>2010-02-26 05:14:38 +0000
commitc6f54dc9529bdfe943d2b5569aebf4a8b8ce5581 (patch)
treecc171535b2604ae7394a535b7acb99fe6c9efb3e /test/cdtest/drivers.c
parentd9a496fbf211166766ed88981a4ee151707fbc41 (diff)
*** empty log message ***
Diffstat (limited to 'test/cdtest/drivers.c')
-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);
}