From: robertl Date: Mon, 6 Jun 2011 23:24:43 +0000 (+0000) Subject: Add placer to navicache. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~885 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b5107c010b0f7bbf6c117761ffb03a6640ab639b;p=gpsbabel.git Add placer to navicache. --- diff --git a/gpsbabel/navicache.c b/gpsbabel/navicache.c index 5e416e798..3c4ea7ce1 100644 --- a/gpsbabel/navicache.c +++ b/gpsbabel/navicache.c @@ -127,6 +127,9 @@ nav_start(void *data, const XML_Char *xml_el, const XML_Char **xml_attr) if (0 == strcmp(ap[0], "name")) { wpt_tmp->description = xstrdup(ap[1]); } else + if (0 == strcmp(ap[0], "user_name")) { + gc_data->placer = xstrdup(ap[1]); + } else if (0 == strcmp(ap[0], "latitude")) { sscanf(ap[1], "%lf", &wpt_tmp->latitude);