Changeset 11767 in josm for trunk


Ignore:
Timestamp:
2017-03-22T08:51:56+01:00 (2 years ago)
Author:
stoecker
Message:

fix JavaBug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java

    r11746 r11767  
    955955                    double y2 = y.applyAsDouble(n2);
    956956
    957                     if (!(y1 <= yRay && yRay < y2 || y2 <= yRay && yRay < y1)) {
     957                    if (!((y1 <= yRay && yRay < y2) || (y2 <= yRay && yRay < y1))) {
    958958                        // No intersection, since segment is above/below ray
    959959                        continue;
Note: See TracChangeset for help on using the changeset viewer.