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'};
|
$width = $attr{'width'};
|
||||||
$height = $attr{'height'};
|
$height = $attr{'height'};
|
||||||
|
|
||||||
if(defined($x) and defined($x)) {
|
if(defined($x) and defined($y)) {
|
||||||
if($x =~ /\d*/ and $y =~ /\d*/) {
|
if($x =~ /\d*/ and $y =~ /\d*/) {
|
||||||
shell $convert, $renderedSVGFileName, "-crop", "${width}x${height}+$x+$y", $pngFileName;
|
shell $convert, $renderedSVGFileName, "-crop", "${width}x${height}+$x+$y", $pngFileName;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user