Skip to content
Snippets Groups Projects
Commit 1042684e authored by Josh DuBois's avatar Josh DuBois Committed by Alexandre Julliard
Browse files

buildimage: Fix typo in conditional.

parent 060b778f
No related branches found
Tags wine-960717
No related merge requests found
......@@ -107,7 +107,7 @@ sub svg_element_start
$width = $attr{'width'};
$height = $attr{'height'};
if(defined($x) and defined($x)) {
if(defined($x) and defined($y)) {
if($x =~ /\d*/ and $y =~ /\d*/) {
shell $convert, $renderedSVGFileName, "-crop", "${width}x${height}+$x+$y", $pngFileName;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment