From 0ebe37b877f31cd88bf9cb8a61a95d0877c6a9a5 Mon Sep 17 00:00:00 2001 From: Hans Tool Date: Mon, 17 Jun 2024 22:59:27 +0200 Subject: [PATCH] Fix B&G Waypoint string termination. --- pgns/129285.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgns/129285.js b/pgns/129285.js index 6a0e38d0..5f880fe2 100644 --- a/pgns/129285.js +++ b/pgns/129285.js @@ -15,7 +15,7 @@ module.exports = [ var idx = 0 return n2k.fields.list.map(wp => { return { - name: wp['WP Name'], + name: wp['WP Name'].replace(/\0.*$/g, ''), position: { value: { latitude: wp['WP Latitude'],