* fix msgtxt array size if the text size is an exact multiple of 240

git-svn-id: trunk@41725 -
This commit is contained in:
Jonas Maebe 2019-03-17 15:22:06 +00:00
parent bde560dac2
commit 1bb8bd471a

View File

@ -411,7 +411,7 @@ begin
writeln(t,');');
close(t);
{update arraysize}
s:=l0(msgsize div maxslen); { we start with 0 }
s:=l0((msgsize-1) div maxslen); { we start with 0 }
assign(f,fn);
reset(f,1);
seek(f,22+34+2*eollen+2*length(constname));