Warnings cleanup.

        Patch by kareila. 

diffs (12 lines):

diff -r 9af6912f1533 -r 7a452ff4f70c S2.pm
--- a/S2.pm     Sat Oct 23 10:15:06 2010 +0800
+++ b/S2.pm     Wed Oct 27 12:47:57 2010 +0800
@@ -156,7 +156,7 @@ sub get_style_modtime
     my $high = 0;
     foreach (@{$ctx->[LAYERLIST]}) {
         $high = $Domains{$CurrentDomain}{layercomp}{$_}
-            if $Domains{$CurrentDomain}{layercomp}{$_} > $high;
+            if ( $Domains{$CurrentDomain}{layercomp}{$_} || 0 ) > $high;
     }
     return $high;
 }
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to