Commit be4bb30a authored by Caleb Michael Moore's avatar Caleb Michael Moore

minor aspect ratio fix

parent cddd5380
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment