typos
authorJoey Hess <joey@gnu.kitenet.net>
Mon, 5 Oct 2009 17:40:35 +0000 (13:40 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Mon, 5 Oct 2009 17:40:35 +0000 (13:40 -0400)
IkiWiki/Render.pm

index cf0c3fe0822a8d9ee0c7d47076c35d25e315baff..324ef24fadd22f2b11572f5331c0fd4a37d2d89f 100644 (file)
@@ -490,7 +490,7 @@ sub refresh () {
                                                next if $@ || ! defined $sub;
        
                                                my @candidates;
-                                               if ($depends_simple{$p}{$d} & $IkiWiki::DEPEND_CONTENT) {
+                                               if ($depends{$p}{$d} & $IkiWiki::DEPEND_CONTENT) {
                                                        @candidates=@changed;
                                                }
                                                elsif ($depends{$p}{$d} & $IkiWiki::DEPEND_PRESENCE) {
@@ -500,7 +500,7 @@ sub refresh () {
                                                # if the page explicitly depends
                                                # on such files
                                                if ($d =~ /internal\(/) {
-                                                       if ($depends_simple{$p}{$d} & $IkiWiki::DEPEND_CONTENT) {
+                                                       if ($depends{$p}{$d} & $IkiWiki::DEPEND_CONTENT) {
                                                                push @candidates, @internal, @internal_change;
                                                        }
                                                        elsif ($depends{$p}{$d} & $IkiWiki::DEPEND_PRESENCE) {