Changeset 7670 in josm
- Timestamp:
- 2014-10-29T15:58:35+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geticons.pl
r7669 r7670 35 35 } 36 36 37 if($l =~ /(?:icon-image|repeat-image|fill-image)\s*:\s*\"?(.*?)\"? \s*;/)37 if(($l =~ /(?:icon-image|repeat-image|fill-image)\s*:\s*(\"?(.*?)\"?)\s*;/) && ($1 ne "none")) 38 38 { 39 my $img = "styles/standard/$1"; 40 $img = "styles/$1" if((!-f "images/$img") && -f "images/styles/$1"); 41 $img = $1 if((!-f "images/$img") && -f "images/$1"); 39 my $val = $2; 40 my $img = "styles/standard/$val"; 41 $img = "styles/$val" if((!-f "images/$img") && -f "images/styles/$val"); 42 $img = $val if((!-f "images/$img") && -f "images/$val"); 42 43 ++$icons{$img}; 43 44 }
Note:
See TracChangeset
for help on using the changeset viewer.