cutils: also use minalign, when varalign equals it, not only when varalign is less than it (21 years old bug?)

This commit is contained in:
Karoly Balogh 2022-04-29 23:45:37 +02:00
parent 5d97ff43fa
commit 74ab27ae47

View File

@ -467,7 +467,7 @@ implementation
minalign : Minimum alignment of this structure, 0 = undefined
maxalign : Maximum alignment of this structure, 0 = undefined }
if (minalign>0) and
(varalign<minalign) then
(varalign<=minalign) then
used_align:=minalign
else
begin