ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Pod.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Pod.pm (file contents):
Revision 1.20 by root, Sun Mar 30 00:25:11 2008 UTC vs.
Revision 1.21 by root, Sun Mar 30 10:18:16 2008 UTC

45 my $kw = lc pop @path; 45 my $kw = lc pop @path;
46 46
47 $node = $node->[N_PARENT] 47 $node = $node->[N_PARENT]
48 or return 0; 48 or return 0;
49 49
50 #TODO: maybe get rid of lowercasing?
50 return scalar grep $_ eq $kw, @{ $node->[N_KW] }; 51 return scalar grep lc eq $kw, @{ $node->[N_KW] };
51} 52}
52 53
53sub find(@) { 54sub find(@) {
54 my (@path) = @_; 55 my (@path) = @_;
55 56

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines