LazReport, fix the number of digits taken for ean-13 checksum calc

git-svn-id: trunk@33196 -
This commit is contained in:
jesus 2011-11-01 05:58:34 +00:00
parent 5c00c5d1db
commit d94f3a524e

View File

@ -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;