Diff of /trunk/src/track.c

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

revision 191 by harbaum, Mon Jul 6 14:06:59 2009 UTC revision 192 by harbaum, Tue Jul 7 11:07:11 2009 UTC
# Line 519  static gboolean update(gpointer data) { Line 519  static gboolean update(gpointer data) {
519      return FALSE;      return FALSE;
520    }    }
521    
522    if(!appdata->gps_enabled) {    if(!appdata->settings || !appdata->settings->enable_gps) {
523      // Turn myself off gracefully.      // Turn myself off gracefully.
524      track_do_disable_gps(appdata);      track_do_disable_gps(appdata);
525      return FALSE;      return FALSE;

Legend:
Removed from v.191  
changed lines
  Added in v.192