Ignore:
Timestamp:
2016-07-29T22:07:47+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #13241 - Fix min->max typo in AbstractTileSourceLayer (patch by michael2402) - gsoc-core

File:
1 edited

Legend:

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

    r10651 r10673  
    18501850            int maxY = Math.max(curTile.getYIndex() + 1, maxTile.getYIndex());
    18511851            int minX = Math.min(curTile.getXIndex() - 1, minTile.getXIndex());
    1852             int maxX = Math.min(curTile.getXIndex() + 1, minTile.getXIndex());
     1852            int maxX = Math.max(curTile.getXIndex() + 1, maxTile.getXIndex());
    18531853
    18541854            for (int x = minX; x <= maxX; x++) {
Note: See TracChangeset for help on using the changeset viewer.