[lazarus] CVS changes

Marc Weustink Marc.Weustink at cuperus.nl
Thu Mar 9 04:33:31 EST 2000


+ From: Peter Dyson [mailto:peter at skel.demon.co.uk]

+ did you change the last line in function 
+ ColorToRGB(Color: TColor): Longint;
+ from
+ Result := Color and $FFFFFF;
+ to
+ Result := Result and $FFFFFF;

Yes.
  if Color < 0
  then Result := GetSysColor(Color and $000000FF)
  else Result := Color;
  Result := Result and $FFFFFF; 

marc






More information about the Lazarus mailing list