mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 01:19:29 +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
|
if FCheckSum then
|
||||||
begin
|
begin
|
||||||
tmp := '0000000000000'+FText;
|
tmp := '0000000000000'+FText;
|
||||||
tmp := getEAN(copy(tmp,length(tmp)-11,12)+'0');
|
tmp := getEAN(copy(tmp,length(tmp)-12,12)+'0');
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
tmp := Ftext;
|
tmp := Ftext;
|
||||||
|
Loading…
Reference in New Issue
Block a user