From: robertl Date: Thu, 23 Dec 2004 19:34:14 +0000 (+0000) Subject: Comments can now be 46 characters in 5.x firmware. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~3843 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a42a45b45e2b4e1e39f31a372f81648ff3bd445b;p=gpsbabel.git Comments can now be 46 characters in 5.x firmware. --- diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index 5ca77160d..775bacd7e 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -1193,7 +1193,7 @@ mag_waypt_pr(const waypoint *waypointp) odesc = mag_cleanse(odesc); } - sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.30s,%s", + sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.46s,%s", lat, ilat < 0 ? 'S' : 'N', lon, ilon < 0 ? 'W' : 'E', waypointp->altitude == unknown_alt ?