Changeset 11896 in josm


Ignore:
Timestamp:
2017-04-13T13:08:31+02:00 (13 days ago)
Author:
bastiK
Message:

see #7427 - clean up comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/ImageWarp.java

    r11895 r11896  
    117117        // border strategy: continue with the color of the outermost pixel,
    118118        // but change alpha component to fully translucent
    119         int a = Utils.clamp(x, 0, img.getWidth() - 1);// clamp(x, img.getWidth());
    120         int b = Utils.clamp(y, 0, img.getHeight() - 1); // clamp(y, img.getHeight());
     119        int a = Utils.clamp(x, 0, img.getWidth() - 1);
     120        int b = Utils.clamp(y, 0, img.getHeight() - 1);
    121121        int clr = img.getRGB(a, b);
    122122        if (a == x && b == y)
Note: See TracChangeset for help on using the changeset viewer.