mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 12:59:15 +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;
|
end;
|
||||||
ST_LOADMESSAGES:
|
ST_LOADMESSAGES:
|
||||||
begin
|
begin
|
||||||
current_settings.pmessage:=nil;
|
{ free pending messages }
|
||||||
|
FreeLocalVerbosity(pendingstate.nextmessagerecord);
|
||||||
mesgnb:=tokenreadsizeint;
|
mesgnb:=tokenreadsizeint;
|
||||||
prevmsg:=nil;
|
prevmsg:=nil;
|
||||||
for i:=1 to mesgnb do
|
for i:=1 to mesgnb do
|
||||||
begin
|
begin
|
||||||
new(pmsg);
|
new(pmsg);
|
||||||
if i=1 then
|
if i=1 then
|
||||||
current_settings.pmessage:=pmsg
|
pendingstate.nextmessagerecord:=pmsg
|
||||||
else
|
else
|
||||||
prevmsg^.next:=pmsg;
|
prevmsg^.next:=pmsg;
|
||||||
pmsg^.value:=tokenreadlongint;
|
pmsg^.value:=tokenreadlongint;
|
||||||
|
Loading…
Reference in New Issue
Block a user