summaryrefslogtreecommitdiff
path: root/cgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-29 08:39:56 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-03-29 08:39:56 -0400
commit5f2026dae224c38b6f725e9697626edf989698eb (patch)
tree00669a230af25e66de1189bb28914bb8baec45fb /cgps.c
parent4873e25e90661026c16aa169096ca94254389f16 (diff)
downloadgpsd-5f2026dae224c38b6f725e9697626edf989698eb.tar.gz
Make the Maidenhead convrter available in Python.
Diffstat (limited to 'cgps.c')
-rw-r--r--cgps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgps.c b/cgps.c
index 503489b8..6f2eefab 100644
--- a/cgps.c
+++ b/cgps.c
@@ -694,7 +694,7 @@ static void update_gps_panel(struct gps_data_t *gpsdata)
/* Fill in the grid square (esr thought *this* one was interesting). */
/*@-branchstate@*/
if (isnan(gpsdata->fix.longitude)==0 && isnan(gpsdata->fix.latitude)==0)
- s = latlon2maidenhead(gpsdata->fix.latitude,gpsdata->fix.longitude);
+ s = maidenhead(gpsdata->fix.latitude,gpsdata->fix.longitude);
else
s = "n/a";
(void)mvwprintw(datawin, 15, DATAWIN_VALUE_OFFSET + 5, "%-*s", 22, s);