Changeset 1573 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2009-05-05T16:36:08+02:00 (16 years ago)
Author:
stoecker
Message:

close #2424 - patch by Henrik Niehaus - exception fixed

File:
1 edited

Legend:

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

    r1519 r1573  
    8888                    j = notes.indexOf('\n', j + 1);
    8989                }
     90                j = j >= 0 ? j : notes.length();
    9091                JOptionPane.showMessageDialog(Main.parent, notes.substring(0, j));
    9192            }
Note: See TracChangeset for help on using the changeset viewer.