diff --git a/Source/lib/oned/Code39Writer.cs b/Source/lib/oned/Code39Writer.cs index 722fc602..107fa215 100644 --- a/Source/lib/oned/Code39Writer.cs +++ b/Source/lib/oned/Code39Writer.cs @@ -94,7 +94,7 @@ public override bool[] encode(String contents) int pos = appendPattern(result, 0, widths, true); int[] narrowWhite = {1}; pos += appendPattern(result, pos, narrowWhite, false); - //append next character to bytematrix + //append next character to byte matrix for (int i = 0; i < length; i++) { int indexInString = Code39Reader.ALPHABET_STRING.IndexOf(contents[i]); @@ -103,7 +103,7 @@ public override bool[] encode(String contents) pos += appendPattern(result, pos, narrowWhite, false); } toIntArray(Code39Reader.CHARACTER_ENCODINGS[39], widths); - pos += appendPattern(result, pos, widths, true); + appendPattern(result, pos, widths, true); return result; } diff --git a/Source/lib/oned/EAN13Writer.cs b/Source/lib/oned/EAN13Writer.cs index 02733c13..4c899a81 100644 --- a/Source/lib/oned/EAN13Writer.cs +++ b/Source/lib/oned/EAN13Writer.cs @@ -116,7 +116,7 @@ override public bool[] encode(String contents) int digit = Int32.Parse(contents.Substring(i, 1)); pos += appendPattern(result, pos, UPCEANReader.L_PATTERNS[digit], true); } - pos += appendPattern(result, pos, UPCEANReader.START_END_PATTERN, true); + appendPattern(result, pos, UPCEANReader.START_END_PATTERN, true); return result; } diff --git a/Source/lib/oned/EAN8Writer.cs b/Source/lib/oned/EAN8Writer.cs index ba025338..162b5851 100644 --- a/Source/lib/oned/EAN8Writer.cs +++ b/Source/lib/oned/EAN8Writer.cs @@ -98,7 +98,7 @@ override public bool[] encode(String contents) int digit = Int32.Parse(contents.Substring(i, 1)); pos += appendPattern(result, pos, UPCEANReader.L_PATTERNS[digit], true); } - pos += appendPattern(result, pos, UPCEANReader.START_END_PATTERN, true); + appendPattern(result, pos, UPCEANReader.START_END_PATTERN, true); return result; }