mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 16:31:40 +02:00
fixed default value for CancelEndSession
git-svn-id: trunk@8949 -
This commit is contained in:
parent
26d140391a
commit
c3c44b2778
@ -1752,7 +1752,7 @@ Begin
|
|||||||
(LParam=0) then
|
(LParam=0) then
|
||||||
begin
|
begin
|
||||||
LMessage.Msg := LM_NULL; // no need to go through delivermessage
|
LMessage.Msg := LM_NULL; // no need to go through delivermessage
|
||||||
CancelEndSession := LMessage.Result<>0;
|
CancelEndSession := LMessage.Result=0;
|
||||||
Application.IntfQueryEndSession(CancelEndSession);
|
Application.IntfQueryEndSession(CancelEndSession);
|
||||||
if CancelEndSession
|
if CancelEndSession
|
||||||
then LMessage.Result := 0
|
then LMessage.Result := 0
|
||||||
|
Loading…
Reference in New Issue
Block a user