Changeset 1573 in josm


Ignore:
Timestamp:
May 5, 2009 4:36:08 PM (4 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.