mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-05 00:10:37 +02:00
* Do not use InfoLong as size can be different from InfoPtr used in Message
git-svn-id: trunk@19844 -
This commit is contained in:
parent
c25a96bd37
commit
3fcf1f0050
@ -1789,7 +1789,7 @@ begin
|
||||
cmDebuggerStopped :
|
||||
begin
|
||||
if Assigned(DebuggerValue) and
|
||||
(DebuggerValue^.GDBI<>Event.InfoLong) then
|
||||
(DebuggerValue^.GDBI<>PtrInt(Event.InfoPtr)) then
|
||||
begin
|
||||
If Assigned(ST^.Text) then
|
||||
DisposeStr(ST^.Text);
|
||||
|
@ -6950,7 +6950,7 @@ begin
|
||||
evBroadcast :
|
||||
case Event.Command of
|
||||
cminputlinelen : begin
|
||||
if Event.InfoLong=0 then
|
||||
if PtrInt(Event.InfoPtr)=0 then
|
||||
okbutton^.DisableCommands([cmok])
|
||||
else
|
||||
okbutton^.EnableCommands([cmok]);
|
||||
|
Loading…
Reference in New Issue
Block a user