Changeset 81


Ignore:
Timestamp:
08/17/07 01:38:25 (6 years ago)
Author:
saua
Message:

fix IllegalArgumentException? when trying to change current point when handling a track with no points yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bbtracker/trunk/src/org/bbtracker/mobile/TrackManager.java

    r76 r81  
    145145                int newValue; 
    146146                final int pointCount = track.getPointCount(); 
     147                if (pointCount == 0) { 
     148                        return false; 
     149                } 
     150 
    147151                if (currentPoint == null) { 
    148152                        if (offset >= 0) { 
Note: See TracChangeset for help on using the changeset viewer.