Change declaration of GetRGBValues
Original Reporter info from Mantis: Blaazen @Blaazen
-
Reporter name: Vojtech Cihak
Original Reporter info from Mantis: Blaazen @Blaazen
- Reporter name: Vojtech Cihak
Description:
Declaration:
procedure GetRGBValues(RGB : DWORD; var R, G, B: Byte); inline;
procedure GetRGBIntValues(RGB : DWORD; var R, G, B: integer); inline;
"var" should be changed to "out" to avoid compiler messages that
Local variable R, G and B does not seem to be initialized.
Those variables are just output.
Lazarus 0.9.31 r33105M FPC 2.5.1 x86_64-linux-qt
Mantis conversion info:
- Mantis ID: 20611
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 33608 (#3116f521)