vfmg (DEVEL): vfmg - no nead to search in '' dir first

sparky sparky at pld-linux.org
Mon Dec 12 21:03:18 CET 2005


Author: sparky                       Date: Mon Dec 12 20:03:17 2005 GMT
Module: vfmg                          Tag: DEVEL
---- Log message:
- no nead to search in '' dir first

---- Files affected:
vfmg:
   vfmg (1.73.2.44 -> 1.73.2.45) 

---- Diffs:

================================================================
Index: vfmg/vfmg
diff -u vfmg/vfmg:1.73.2.44 vfmg/vfmg:1.73.2.45
--- vfmg/vfmg:1.73.2.44	Sun Dec 11 03:38:24 2005
+++ vfmg/vfmg	Mon Dec 12 21:03:12 2005
@@ -391,10 +391,7 @@
 	}
 	if ( $opt{icons_ext} ) {
 		my $exists=0;
-		my @idirs;
-		push @idirs, '' if $tags{Icon} =~ m|^/|;
-		push @idirs, @icondirs;
-		foreach my $dir (@idirs) {
+		foreach my $dir (@icondirs) {
 			foreach my $ext ('', qw(.svg .xpm .png)) {
 				if (-f $dir . $tags{Icon} . $ext) {
 					$tags{Icon} .= $ext;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/vfmg/vfmg?r1=1.73.2.44&r2=1.73.2.45&f=u




More information about the pld-cvs-commit mailing list