gpx syntax file error corrected
authorDr. Johann Pfefferl <pfefferl@nghape.jpnet>
Tue, 25 May 2010 16:11:01 +0000 (18:11 +0200)
committerDr. Johann Pfefferl <pfefferl@nghape.jpnet>
Tue, 25 May 2010 16:11:01 +0000 (18:11 +0200)
gps-tracker.c

index b02ee96..672ed7c 100644 (file)
@@ -146,7 +146,7 @@ on_gps_device_changed (LocationGPSDevice *device, gpointer data)
           g_fprintf(fp, "<fix>2d</fix>\n");
         else if(device->fix->mode == LOCATION_GPS_DEVICE_MODE_3D)
           g_fprintf(fp, "<fix>3d</fix>\n");
-        g_fprintf(fp, "sat>%d</sat>\n", device->satellites_in_use);
+        g_fprintf(fp, "<sat>%d</sat>\n", device->satellites_in_use);
       }
 
       if (device->fix->fields & LOCATION_GPS_DEVICE_ALTITUDE_SET) {