buildimage: Fix typo in conditional.

This commit is contained in:
Josh DuBois 2015-01-23 09:14:21 -06:00 committed by Alexandre Julliard
parent 060b778fde
commit 1042684ecd
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}