ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/urxvt.pm
(Generate patch)

Comparing rxvt-unicode/src/urxvt.pm (file contents):
Revision 1.215 by root, Thu Jun 7 16:30:58 2012 UTC vs.
Revision 1.216 by root, Sun Jun 10 13:32:55 2012 UTC

946no warnings 'utf8'; 946no warnings 'utf8';
947 947
948sub parse_resource { 948sub parse_resource {
949 my ($term, $name, $isarg, $longopt, $flag, $value) = @_; 949 my ($term, $name, $isarg, $longopt, $flag, $value) = @_;
950 950
951 $name =~ y/-/./ if $isarg;
952
951 $term->scan_meta; 953 $term->scan_meta;
952 954
953 my $r = $term->{meta}{resource}; 955 my $r = $term->{meta}{resource};
956 keys %$r; # reste iterator
954 while (my ($pattern, $v) = each %$r) { 957 while (my ($pattern, $v) = each %$r) {
955 $name =~ y/-/./ if $isarg;
956
957 if ( 958 if (
958 $pattern =~ /\.$/ 959 $pattern =~ /\.$/
959 ? $pattern eq substr $name, 0, length $pattern 960 ? $pattern eq substr $name, 0, length $pattern
960 : $pattern eq $name 961 : $pattern eq $name
961 ) { 962 ) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines