diff options
author | scuri <scuri> | 2010-02-26 05:14:38 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-02-26 05:14:38 +0000 |
commit | c6f54dc9529bdfe943d2b5569aebf4a8b8ce5581 (patch) | |
tree | cc171535b2604ae7394a535b7acb99fe6c9efb3e /test/cdtest | |
parent | d9a496fbf211166766ed88981a4ee151707fbc41 (diff) |
*** empty log message ***
Diffstat (limited to 'test/cdtest')
-rw-r--r-- | test/cdtest/drivers.c | 2 |
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); } |