From: Dr. Johann Pfefferl Date: Mon, 7 Jun 2010 09:50:34 +0000 (+0200) Subject: Show the climb rate more precisely X-Git-Tag: release-1.0-11 X-Git-Url: http://git.maemo.org/git/?p=gps-tracker;a=commitdiff_plain;h=bf740a6459d693ffcdb947ae9a5895926664e607 Show the climb rate more precisely --- diff --git a/debian/changelog b/debian/changelog index 81368e6..28f9118 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +gps-tracker (1.0-11) unstable; urgency=low + + * Show the climb rate more precisely + + -- Dr. Johann Pfefferl Mon, 07 Jun 2010 11:51:39 +0200 + gps-tracker (1.0-10) unstable; urgency=low * Extended the tool to write more than one track segment diff --git a/gps-tracker.c b/gps-tracker.c index cb3ebdb..0e39111 100644 --- a/gps-tracker.c +++ b/gps-tracker.c @@ -237,7 +237,7 @@ static void on_gps_device_changed (LocationGPSDevice *device, gpointer data) if (device->fix->fields & LOCATION_GPS_DEVICE_CLIMB_SET) { //g_print ("climb = %f\n", device->fix->climb); - CHANGE_LABEL(app_data->climb_val_label, "%+4.0fm/s", device->fix->climb); + CHANGE_LABEL(app_data->climb_val_label, "%+6.2fm/s", device->fix->climb); } else CHANGE_LABEL(app_data->climb_val_label, " ?", NULL);