Changeset 3909 in josm for trunk/src/org


Ignore:
Timestamp:
2011-02-17T11:12:06+01:00 (14 years ago)
Author:
Upliner
Message:

fix #5965 - NPE in TMSLayer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java

    r3881 r3909  
    11971197
    11981198            // Draw attribution logo
    1199             int imgWidth = attrImage.getWidth(this);
    12001199            if(attrImage != null) {
    12011200                int x = 2;
     1201                int imgWidth = attrImage.getWidth(this);
    12021202                int height = attrImage.getHeight(this);
    12031203                int y = termsTextY - height - textHeight - 5;
Note: See TracChangeset for help on using the changeset viewer.