repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: f27094604c912105144b99fcfe4fa57c3c1b145f:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit f27094604c912105144b99fcfe4fa57c3c1b145f
Author: Marc Lehmann 
Date:   Wed Jun 6 15:26:32 2012 +0000

    *** empty log message ***

diff --git a/src/urxvt.pm b/src/urxvt.pm
index 21c05f5cecbec683c72c50a7075e09918953a64d..
index ..2511a33fd28b725b4d59eda1a835c704e4e38e4e 100644
--- a/src/urxvt.pm
+++ b/src/urxvt.pm
@@ -1362,7 +1362,7 @@ sub scan_meta {
          while (<$fh>) {
             if (/^#:META:X_RESOURCE:(.*)/) {
                my ($pattern, $type, $desc) = split /:/, $1;
-               $pattern =~ s/^%(?:\.|$)/$ext./g; # % in pattern == extension name
+               $pattern =~ s/^%(\.|$)/$ext$1/g; # % in pattern == extension name
                if ($pattern =~ /[^a-zA-Z0-9\-\.]/) {
                   warn "$dir/$ext: meta resource '$pattern' contains illegal characters (not alphanumeric nor . nor *)\n";
                } else {

-----END OF PAGE-----