[tools] buildimage: Fix-typo-in-conditional
Josh DuBois
duboisj at codeweavers.com
Fri Jan 23 11:10:08 CST 2015
-------------- next part --------------
From 78a37e662a1dd40c4e240efc28f41332d4b3df7b Mon Sep 17 00:00:00 2001
From: Josh DuBois <duboisj at codeweavers.com>
Date: Fri, 23 Jan 2015 09:14:21 -0600
Subject: buildimage: Fix typo in conditional.
---
tools/buildimage | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/buildimage b/tools/buildimage
index 442bb3e..2216ad8 100755
--- a/tools/buildimage
+++ b/tools/buildimage
@@ -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;
}
--
1.8.5.2 (Apple Git-48)
More information about the wine-patches
mailing list