From bf740a6459d693ffcdb947ae9a5895926664e607 Mon Sep 17 00:00:00 2001 From: "Dr. Johann Pfefferl" Date: Mon, 7 Jun 2010 11:50:34 +0200 Subject: [PATCH] Show the climb rate more precisely --- debian/changelog | 6 ++++++ gps-tracker.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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); -- 1.7.9.5