From: robertl Date: Tue, 17 Aug 2010 21:42:20 +0000 (+0000) Subject: Fix typo in yesterday's KML change. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~938 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=af166f853035cf67f2c4d17e67433b695d7be315;p=gpsbabel.git Fix typo in yesterday's KML change. --- diff --git a/gpsbabel/kml.c b/gpsbabel/kml.c index 479836f16..642499aca 100644 --- a/gpsbabel/kml.c +++ b/gpsbabel/kml.c @@ -243,7 +243,7 @@ void wpt_coord(const char *args, const char **attrv) double lat, lon, alt; // Alt is actually optional. n = sscanf(args, "%lf,%lf,%lf", &lat, &lon, &alt); - if (n > 2) { + if (n >= 2) { wpt_tmp->latitude = lat; wpt_tmp->longitude = lon; }