Diff of /trunk/src/gpx.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 30 by harbaum, Fri Jul 24 19:24:42 2009 UTC revision 34 by harbaum, Wed Jul 29 19:24:15 2009 UTC
# Line 1346  float gpx_pos_get_distance(pos_t p1, pos Line 1346  float gpx_pos_get_distance(pos_t p1, pos
1346    
1347  void gpx_pos_get_distance_str(char *str, int len,  void gpx_pos_get_distance_str(char *str, int len,
1348                                pos_t p1, pos_t p2, int mil) {                                pos_t p1, pos_t p2, int mil) {
1349    if(!p1.lat && !p1.lon) {    if(isnan(p1.lat) || isnan(p1.lon)) {
1350      snprintf(str, len, "---");      snprintf(str, len, "---");
1351      return;      return;
1352    }    }

Legend:
Removed from v.30  
changed lines
  Added in v.34