spotted by Komzpa
authorRichard Fairhurst <richard@systemed.net>
Wed, 23 Jun 2010 08:23:38 +0000 (08:23 +0000)
committerRichard Fairhurst <richard@systemed.net>
Wed, 23 Jun 2010 08:23:38 +0000 (08:23 +0000)
net/systemeD/halcyon/styleparser/StyleChooser.as

index 10503b1..b73c621 100755 (executable)
@@ -127,7 +127,7 @@ package net.systemeD.halcyon.styleparser {
                // addZoom              <- adds into the current ruleChain (existing Rule)
                public function addZoom(z1:uint,z2:uint):void {
                        ruleChains[rcpos][ruleChains[rcpos].length-1].minZoom=z1;
-                       ruleChains[rcpos][ruleChains[rcpos].length-1].minZoom=z2;
+                       ruleChains[rcpos][ruleChains[rcpos].length-1].maxZoom=z2;
                }
                
                // addCondition <- adds into the current ruleChain (existing Rule)