diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-03-22 20:25:28 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-03-22 20:25:28 +0000 |
commit | e78f332e63b8cf8292c4b19f3794ebee067a165f (patch) | |
tree | 311a71e23eaa612ed9d0cc1a98b98ab21977c780 /xgps.c | |
parent | 139b5e991313fe736cd735d271b6d439d761af85 (diff) | |
download | gpsd-e78f332e63b8cf8292c4b19f3794ebee067a165f.tar.gz |
Second step in library refactoring.
We need to make profiling work again, also gpsd.py is broken.
Diffstat (limited to 'xgps.c')
-rw-r--r-- | xgps.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -268,7 +268,8 @@ static void update_panel(struct gps_data_t *gpsdata, char *message) XmStringFree(string[i]); } /* here are the value fields */ - XmTextFieldSetString(text_1, gpsdata->utc); + unix_to_iso8661(gpsdata->fix.time, s); + XmTextFieldSetString(text_1, s); sprintf(s, "%f %c", fabsf(gpsdata->fix.latitude), (gpsdata->fix.latitude < 0) ? 'S' : 'N'); XmTextFieldSetString(text_2, s); sprintf(s, "%f %c", fabsf(gpsdata->fix.longitude), (gpsdata->fix.longitude < 0) ? 'W' : 'E'); |