buildimage: Fix typo in conditional.
This commit is contained in:
parent
060b778fde
commit
1042684ecd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue