Skip to content

Commit

Permalink
fix: see toretore#48 for details
Browse files Browse the repository at this point in the history
  • Loading branch information
gordysc committed Jul 19, 2023
1 parent 9ea6d21 commit 05c4671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/barby/barcode/pdf_417.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def encoding
row = ""
enc << row
end
row << sprintf("%08b", (byte & 0xff) | 0x100)
row << sprintf("%08b", (byte & 0xff) | 0x100)[1.., -1]
end
enc
end
Expand Down

0 comments on commit 05c4671

Please sign in to comment.