[lazarus] New Bug Entered

Andrew Johnson aj_genius at hotmail.com
Mon Oct 28 18:20:32 EST 2002


On Mon, 28 Oct 2002 23:13:12 +0100
"Marc Weustink" <marc at dommelstein.net> wrote :
>
>At 15:04 28-10-2002 -0500, andrew johnson wrote:
>>On Mon, 2002-10-28 at 15:39
>>Jeroen van Iddekinge wrote:
>>
>>
>> > 3) TGtkObject.SelectClipRgn.
>> > The first lines of this routine is:
>> >
>> > if not isValidDc(DC) then
>> >   Result := Error;
>> > if Result <> Error then
>> >
>> > This should be something like:
>> >
>> > Error := 0
>> > if not IsValidDc(DC) then
>> >     Result := Error;
>> > if Result <> Error then
>>
>>This is not a bug, ERROR is a Win32 defined const, which is declared
>>elsewhere.
>
>I think Jeroen ment Result=0 instead of Error=0.
>
>Result is uninitialized.
>
>Marc

whoops. looks like you may be right. So..

Fixed.

Andrew

_________________________________________________________________
Unlimited Internet access for only $21.95/month.  Try MSN! 
http://resourcecenter.msn.com/access/plans/2monthsfree.asp






More information about the Lazarus mailing list