Changeset 10566 in josm for trunk/geticons.pl


Ignore:
Timestamp:
2016-07-19T20:53:22+02:00 (3 years ago)
Author:
stoecker
Message:

see #13084 - fix some errors in icon move

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/geticons.pl

    r10561 r10566  
    3737      if(($l =~ /(?:icon-image|repeat-image|fill-image)\s*:\s*(\"?(.*?)\"?)\s*;/) && ($1 ne "none"))
    3838      {
    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");
     39        my $img = $2;
    4340        ++$icons{$img};
    4441      }
     
    4643      {
    4744        my $i = $1;
    48         $i = "styles/standard/$i" if $i eq "misc/no_icon";
    4945        ++$icons{$i};
    5046      }
Note: See TracChangeset for help on using the changeset viewer.