Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2006-11

Re: [patch] - types.pp (fwd)

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
Show quoted text 18 lines
Hi, Attached is a patch for types.pp. It must be applied from the root FPC Source directory. Changes: * As suggested by Vinzent Hoefler, regarding my patch supplied on the 25 July. I removed the SIZE = TSize declaration from types.pp. I searched all of the FPC Src for any references to SIZE. All I could find was local Size variables or types, all declared in the units it was needed, never using the one declared in the types.pp unit. If I missed on, it can just be change to TSize. I recompiled the whole FPC Source and compiled Lazarus and a few of my apps and they all seem to be happy with SIZE being gone. * Added two new Size() functions that work the same as Rect(), Bounds() or Point(). function Size(AWidth, AHeight: Integer): TSize; function Size(ARect: TRect): TSize;

Applied, thanks !

Michael.

Reply by email