diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-12-14 18:20:11 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-12-14 18:20:11 -0500 |
commit | c0e938e972dee09c2e70c0a8e57351ec85e69c14 (patch) | |
tree | 615ed1d487c8b7f243fc045ac6ce557266182b23 | |
parent | 2bceb10b5fd06e8e0867cbc6d72a16cbaae35803 (diff) |
fix typo
This was probably not noticed because it only results in a warning, and in
the checkcontent diff having some unchanged lines in it.
-rw-r--r-- | IkiWiki.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 3430c5742..b8e599928 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1407,7 +1407,7 @@ sub check_content (@) { my %old=map { $_ => 1 } split("\n", readfile(srcfile($pagesources{$params{page}}))); foreach my $line (split("\n", $params{content})) { - push @diff, $line if ! exists $old{$_}; + push @diff, $line if ! exists $old{$line}; } $params{diff}=join("\n", @diff); } |