mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-03 19:07:27 +01:00
* Fix 2 bugs: wrong index in extended code 93 encoding, copy paste error in checksum
git-svn-id: trunk@55900 -
This commit is contained in:
parent
3956dc2480
commit
da96cd01b1
@ -1181,7 +1181,7 @@ begin
|
||||
weightC := 1;
|
||||
Inc(weightK);
|
||||
if weightK > 15 then
|
||||
weightC := 1;
|
||||
weightK := 1;
|
||||
end;
|
||||
|
||||
Inc(checkK, checkC);
|
||||
@ -1229,7 +1229,7 @@ begin
|
||||
FText := '';
|
||||
|
||||
|
||||
for i := 0 to Length(save) - 1 do
|
||||
for i := 1 to Length(save) do
|
||||
begin
|
||||
if Ord(save[i]) <= 127 then
|
||||
FText := FText + code93x[Ord(save[i])];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user