summaryrefslogtreecommitdiff
path: root/rsvg-image.c
diff options
context:
space:
mode:
authorCaleb Michael Moore <cmoore@src.gnome.org>2005-10-11 07:42:41 +0000
committerCaleb Michael Moore <cmoore@src.gnome.org>2005-10-11 07:42:41 +0000
commitbe4bb30a961a90ca383cb73d6ebf3c0839b0120d (patch)
treeef9210a2d4b04daa20b52d10860dd613dd2417a1 /rsvg-image.c
parentcddd5380ae199ec01cd80de1ee224380cab6e3c0 (diff)
downloadlibrsvg-be4bb30a961a90ca383cb73d6ebf3c0839b0120d.tar.gz
minor aspect ratio fix
Diffstat (limited to 'rsvg-image.c')
-rw-r--r--rsvg-image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsvg-image.c b/rsvg-image.c
index c48dee60..bf44ac4a 100644
--- a/rsvg-image.c
+++ b/rsvg-image.c
@@ -442,7 +442,7 @@ rsvg_preserve_aspect_ratio(unsigned int aspect_ratio, double width,
double * x, double * y)
{
double neww, newh;
- if (aspect_ratio)
+ if (aspect_ratio & ~RSVG_ASPECT_RATIO_SLICE)
{
neww = *w;
newh = *h;