* don't use tmessage.setverbosity() to check whether the message is valid as it should only be applied when the switches are flushed, so use the new tmessage.valid() instead

This commit is contained in:
Sven/Sarah Barth 2024-12-30 19:38:33 +01:00
parent 9a2d0e0692
commit 1388e2af5b

View File

@ -211,7 +211,7 @@ implementation
val(tok, msgnr, code); val(tok, msgnr, code);
if (code<>0) then if (code<>0) then
exit; exit;
if not msg^.setverbosity(msgnr,state) then if not msg^.valid(msgnr) then
exit exit
else else
recordpendingmessagestate(msgnr, state); recordpendingmessagestate(msgnr, state);