[Lxr-commits] CVS: lxr/lib/LXR Template.pm,1.24,1.25
Brought to you by:
ajlittoz
From: Andre-Littoz <ajl...@us...> - 2013-06-05 17:01:44
|
Update of /cvsroot/lxr/lxr/lib/LXR In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3547/lib/LXR Modified Files: Template.pm Log Message: Template.pm: looked-for identifier not showing up in ident page title Fix for bug #238 introduced a regression: directly accessing parameter 'sourcerootname' removed variable substitution; this patch restores the feature. Index: Template.pm =================================================================== RCS file: /cvsroot/lxr/lxr/lib/LXR/Template.pm,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- Template.pm 3 Jun 2013 11:19:01 -0000 1.24 +++ Template.pm 5 Jun 2013 17:01:41 -0000 1.25 @@ -527,13 +527,13 @@ my $ret; if ($who eq 'source' || $who eq 'diff' || $who eq 'sourcedir') { - $ret = $config->{'sourcerootname'} . $pathname; + $ret = $config->sourcerootname . $pathname; } elsif ($who eq 'ident') { - $ret = $config->{'sourcerootname'} . ' identifier search' + $ret = $config->sourcerootname . ' identifier search' . ($identifier ? ": $identifier" : ''); } elsif ($who eq 'search') { my $s = $HTTP->{'param'}{'_string'}; - $ret = $config->{'sourcerootname'} . ' general search' + $ret = $config->sourcerootname . ' general search' . ($s ? ": $s" : ''); } $ret =~ s/&/&/g; |