[lazarus] New Bug Entered
Marc Weustink
marc at dommelstein.net
Mon Oct 28 17:05:07 EST 2002
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
>Andrew
>
>_________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
More information about the Lazarus
mailing list