[cairo-commit] svg2png/src svg2png.c,1.10,1.11
Jason Dorje Short
commit at pdx.freedesktop.org
Sat Aug 13 08:28:34 PDT 2005
- Previous message: [cairo-commit] cairo ChangeLog,1.890,1.891 Makefile.am,1.19,1.20
- Next message: [cairo-commit] cairo-java/src/java/org/freedesktop/cairo
SubpixelOrder.java, NONE, 1.1 HintStyle.java, NONE,
1.1 Antialias.java, NONE, 1.1 ScaledFont.java, 1.2,
1.3 FontOptions.java, NONE, 1.1 Context.java, 1.7,
1.8 HintMetrics.java, NONE, 1.1 Status.java, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: jdorje
Update of /cvs/cairo/svg2png/src
In directory gabe:/tmp/cvs-serv15438/src
Modified Files:
svg2png.c
Log Message:
Fix a bug in the latest command-line-parameters patch. The bug caused
svg2png to fail when given no sizing arguments.
Index: svg2png.c
===================================================================
RCS file: /cvs/cairo/svg2png/src/svg2png.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- svg2png.c 13 Aug 2005 07:41:22 -0000 1.10
+++ svg2png.c 13 Aug 2005 15:28:32 -0000 1.11
@@ -140,8 +140,8 @@
/* xscale, yscale, or scale <= 0 means no option */
scale = args->scale > 0.0 ? args->scale : 1.0;
- xscale = args->xscale > 0.0 ? args->xscale : args->scale;
- yscale = args->yscale > 0.0 ? args->yscale : args->scale;
+ xscale = args->xscale > 0.0 ? args->xscale : scale;
+ yscale = args->yscale > 0.0 ? args->yscale : scale;
if (args->width <= 0 && args->height <= 0) {
/* Neither width or height are given. This case is easy; we just
- Previous message: [cairo-commit] cairo ChangeLog,1.890,1.891 Makefile.am,1.19,1.20
- Next message: [cairo-commit] cairo-java/src/java/org/freedesktop/cairo
SubpixelOrder.java, NONE, 1.1 HintStyle.java, NONE,
1.1 Antialias.java, NONE, 1.1 ScaledFont.java, 1.2,
1.3 FontOptions.java, NONE, 1.1 Context.java, 1.7,
1.8 HintMetrics.java, NONE, 1.1 Status.java, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list