* apply message state to the pending state so that they are applied at the correct moment

This commit is contained in:
Sven/Sarah Barth 2024-12-29 21:52:59 +01:00
parent d335ce60dd
commit c3a6df26ee

View File

@ -3857,14 +3857,15 @@ type
end;
ST_LOADMESSAGES:
begin
current_settings.pmessage:=nil;
{ free pending messages }
FreeLocalVerbosity(pendingstate.nextmessagerecord);
mesgnb:=tokenreadsizeint;
prevmsg:=nil;
for i:=1 to mesgnb do
begin
new(pmsg);
if i=1 then
current_settings.pmessage:=pmsg
pendingstate.nextmessagerecord:=pmsg
else
prevmsg^.next:=pmsg;
pmsg^.value:=tokenreadlongint;