From: robertlipe Date: Mon, 14 Jan 2013 00:17:15 +0000 (+0000) Subject: Typo fix in TEF. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~707 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c22d90cf7759b3f1e9446cfb6c0f9f686d50e46d;p=gpsbabel.git Typo fix in TEF. --- diff --git a/gpsbabel/tef_xml.cc b/gpsbabel/tef_xml.cc index ab5244d82..550d0d058 100644 --- a/gpsbabel/tef_xml.cc +++ b/gpsbabel/tef_xml.cc @@ -291,7 +291,7 @@ tef_point(const char *args, const char **attrv) // FIXME: this code should really not be writing into the arg list. while (*avp) { if (strcmp(avp[0], "y") == 0) { - char *tbuf = xstrdup(avp[0]); + char *tbuf = xstrdup(avp[1]); comma = strstr(tbuf, ","); if (comma) { *comma='.';