mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 12:18:17 +02:00
LazReport, fix the number of digits taken for ean-13 checksum calc
git-svn-id: trunk@33196 -
This commit is contained in:
parent
5c00c5d1db
commit
d94f3a524e
@ -523,7 +523,7 @@ begin
|
||||
if FCheckSum then
|
||||
begin
|
||||
tmp := '0000000000000'+FText;
|
||||
tmp := getEAN(copy(tmp,length(tmp)-11,12)+'0');
|
||||
tmp := getEAN(copy(tmp,length(tmp)-12,12)+'0');
|
||||
end
|
||||
else
|
||||
tmp := Ftext;
|
||||
|
Loading…
Reference in New Issue
Block a user