From 79be24267e502de0c6d646ebb9f257b187a392cf Mon Sep 17 00:00:00 2001 From: Billy Rond Date: Fri, 2 Feb 2018 18:20:30 -0700 Subject: [PATCH] Swap 'B' and 'C' characters, fix '+' character --- codabar/encoder.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codabar/encoder.go b/codabar/encoder.go index 0203d67..8e0f3f6 100644 --- a/codabar/encoder.go +++ b/codabar/encoder.go @@ -25,10 +25,10 @@ var encodingTable = map[rune][]bool{ ':': []bool{true, true, false, true, false, true, true, false, true, true}, '/': []bool{true, true, false, true, true, false, true, false, true, true}, '.': []bool{true, true, false, true, true, false, true, true, false, true}, - '+': []bool{true, false, true, true, false, false, true, true, false, false, true, true}, + '+': []bool{true, false, true, true, false, true, true, false, true, true}, 'A': []bool{true, false, true, true, false, false, true, false, false, true}, 'B': []bool{true, false, false, true, false, false, true, false, true, true}, - 'C': []bool{true, false, false, true, false, false, true, false, true, true}, + 'C': []bool{true, false, true, false, false, true, false, false, true, true}, 'D': []bool{true, false, true, false, false, true, true, false, false, true}, }