mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 21:48:35 +02:00
* apply message state to the pending state so that they are applied at the correct moment
This commit is contained in:
parent
d335ce60dd
commit
c3a6df26ee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user