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

Comparing deliantra/Deliantra-Client/DC/MapWidget.pm (file contents):
Revision 1.33 by root, Mon May 22 03:48:50 2006 UTC vs.
Revision 1.34 by root, Tue May 23 21:14:41 2006 UTC

480 480
481 @match = map $self->{command}{$_->[0]}, 481 @match = map $self->{command}{$_->[0]},
482 sort { 482 sort {
483 $a->[1] <=> $b->[1] 483 $a->[1] <=> $b->[1]
484 or $self->{command}{$a->[0]}[4] <=> $self->{command}{$b->[0]}[4] 484 or $self->{command}{$a->[0]}[4] <=> $self->{command}{$b->[0]}[4]
485 or (length $a->[0]) <=> (length $b->[0])
485 } @match; 486 } @match;
486 487
487 $self->{last_search} = $cmd; 488 $self->{last_search} = $cmd;
488 $self->{last_match} = \@match; 489 $self->{last_match} = \@match;
489 490

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines