Ignore:
Timestamp:
2015-11-02T10:21:34+01:00 (4 years ago)
Author:
simon04
Message:

fix #12016 - History dialog sometimes incorrectly shows a way as reversed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/history/TwoColumnDiff.java

    r8840 r8976  
    7979        Diff.Change scriptReversed = new Diff(referenceReversed, current).diff_2(false);
    8080        if (scriptReversed == null /* reference and current are identical */
    81                 || script != null && scriptReversed.deleted + scriptReversed.inserted < script.deleted + script.inserted) {
     81                || script != null && scriptReversed.getTotalNumberOfChanges() < script.getTotalNumberOfChanges()) {
    8282            this.referenceReversed = true;
    8383            twoColumnDiffFromScript(scriptReversed, referenceReversed, current, true);
Note: See TracChangeset for help on using the changeset viewer.