added support for next graph-include's --prefixstrip...

...in the wesnoth project-class
This commit is contained in:
Yann Dirson 2005-03-29 20:49:57 +00:00
parent 91cf3efab6
commit 38691814f9

View file

@ -12,6 +12,8 @@ sub filelabel {
my ($file,$level) = @_;
$level = $main::minshow unless defined $level;
$file =~ s/^$self->{PFXSTRIP}// if defined $self->{PFXSTRIP};
if ($level == 0) {
return $file;
} elsif ($level == 1) {