diff options
Diffstat (limited to 'cd/test/cdtest/drivers.c')
-rwxr-xr-x | cd/test/cdtest/drivers.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |