[s2] clean up log messages that appear when global warnings are on
[commit: http://hg.dwscoalition.org/s2/rev/7a452ff4f70c]
http://bugs.dwscoalition.org/show_bug.cgi?id=3040
Warnings cleanup.
Patch by
kareila.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3040
Warnings cleanup.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- S2.pm
-------------------------------------------------------------------------------- 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; } --------------------------------------------------------------------------------