[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/graphincludes/project wesnoth.pm
From: |
Yann Dirson |
Subject: |
[Wesnoth-cvs-commits] wesnoth/graphincludes/project wesnoth.pm |
Date: |
Tue, 29 Mar 2005 15:49:58 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Yann Dirson <address@hidden> 05/03/29 20:49:57
Modified files:
graphincludes/project: wesnoth.pm
Log message:
added support for next graph-include's --prefixstrip in the wesnoth
project-class
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/graphincludes/project/wesnoth.pm.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: wesnoth/graphincludes/project/wesnoth.pm
diff -u wesnoth/graphincludes/project/wesnoth.pm:1.1
wesnoth/graphincludes/project/wesnoth.pm:1.2
--- wesnoth/graphincludes/project/wesnoth.pm:1.1 Mon Mar 28 19:54:06 2005
+++ wesnoth/graphincludes/project/wesnoth.pm Tue Mar 29 20:49:57 2005
@@ -12,6 +12,8 @@
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) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/graphincludes/project wesnoth.pm,
Yann Dirson <=