Josh DuBois : buildimage: Fix typo in conditional.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 26 15:59:18 CST 2015


Module: wine
Branch: master
Commit: 1042684ecdc196c6f774631f5eb10ce2d1350d73
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1042684ecdc196c6f774631f5eb10ce2d1350d73

Author: Josh DuBois <duboisj at codeweavers.com>
Date:   Fri Jan 23 09:14:21 2015 -0600

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




More information about the wine-cvs mailing list