Browse Source

Not happy with this change, it seems to break some other links
Callek is going to work up a more thorough patch and we'll try again later

12 years ago
parent
commit
fc2eeda9c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/LXR/Common.pm

+ 1 - 1
lib/LXR/Common.pm

@@ -870,7 +870,7 @@ sub filelookup {
   my $idlfile = $1 if ($filename =~ /(^.*)\.h$/);
   my $baseurl = $Conf->{virtroot}; # &baseurl;
   my ($pfile_ref,$gfile_ref,$ifile_ref,$jfile_ref,$kfile_ref,$loosefile,$basefile,$p,$g,$i,$j,$k);
-  $filename =~ s|([\[\](){}^\$.*?\&\@\\+])|\\$1|g;
+  $filename =~ s|([(){}^\$.*?\&\@\\+])|\\$1|g;
   if ($filename =~ m|/|) {
     $basefile = $loosefile = $filename;
     $basefile =~ s|^.*/|/|g;