diff options
Diffstat (limited to 'cd/test/cdtest')
-rwxr-xr-x | cd/test/cdtest/cdtest.c | 2 | ||||
-rwxr-xr-x | cd/test/cdtest/drivers.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cd/test/cdtest/cdtest.c b/cd/test/cdtest/cdtest.c index 1e6375b..536cfc2 100755 --- a/cd/test/cdtest/cdtest.c +++ b/cd/test/cdtest/cdtest.c @@ -229,7 +229,7 @@ void CDTestInit(void) if (use_contextplus) { -#ifdef USE_GDIPLUS +#ifdef USE_CONTEXTPLUS cdInitContextPlus(); #endif } 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); } |