Skip to content

Commit

Permalink
standard 2 of 5 append check digit encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
barnhill committed Dec 20, 2018
1 parent 2b9b875 commit 98a689a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BarcodeStandard/BarcodeStandard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>2.2.0</Version>
<Version>2.2.1</Version>
<PackageId>BarcodeLib</PackageId>
<Company>Pnuema Productions</Company>
<Product>BarcodeLib</Product>
Expand Down
2 changes: 1 addition & 1 deletion BarcodeStandard/Symbologies/Standard2of5.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private string Encode_Standard2of5()
result += S25_Code[Int32.Parse(c.ToString())];
}//foreach

string checkPattern = Encoded_Type == TYPE.Standard2of5_Mod10 ? S25_Code[CalculateMod10CheckDigit()] : "";
result += Encoded_Type == TYPE.Standard2of5_Mod10 ? S25_Code[CalculateMod10CheckDigit()] : "";

//add ending bars
result += "1101011";
Expand Down

0 comments on commit 98a689a

Please sign in to comment.