From e9a184546b18cf3b796bd560561f312934004c54 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 9 Sep 2010 01:48:52 +0200 Subject: Upgrading to CD 5.4 - and cleaning up. --- cd/test/cdtest/drivers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cd/test/cdtest/drivers.c') diff --git a/cd/test/cdtest/drivers.c b/cd/test/cdtest/drivers.c index dd23331..2387741 100755 --- a/cd/test/cdtest/drivers.c +++ b/cd/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); } -- cgit v1.2.3