Skip to content

Commit

Permalink
fix UPC-E encoding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
barnhill committed Nov 30, 2020
1 parent 3cb5dab commit 78ea3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BarcodeStandard/Symbologies/UPCE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private string Encode_UPCE()
var pos = 0;
foreach (var c in pattern)
{
var i = Int32.Parse(Raw_Data[++pos].ToString());
var i = Int32.Parse(Raw_Data[pos++].ToString());
if (c == 'a')
{
result += EAN_Code_A[i];
Expand Down

0 comments on commit 78ea3ca

Please sign in to comment.