Recent

Author Topic: mbColorLib typo in function GetBlue  (Read 3187 times)

indydev

  • Jr. Member
  • **
  • Posts: 64
mbColorLib typo in function GetBlue
« on: September 03, 2021, 01:49:28 am »
I was using mbColorLib and noticed that the property Blue was retreiving the wrong color (red). A look at the source reveals that the function GetBlue was calling GetRValue instead of GetBValue:

Code: Pascal  [Select][+][-]
  1. function THSLRingPicker.GetBlue: Integer;
  2. begin
  3.   Result := GetRValue(FSelectedColor);
  4. end;


As this code is installed from the sourceforge ccr I couldn't figure out where notify a maintainer. The port to Lazarus was done by Werner Pamler

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: mbColorLib typo in function GetBlue
« Reply #1 on: September 03, 2021, 02:47:08 am »
If you look at the Forum's left column, you should see a link for "CCR Bugs", follow the link and report the bug.

wp

  • Hero Member
  • *****
  • Posts: 11906
Re: mbColorLib typo in function GetBlue
« Reply #2 on: September 03, 2021, 10:02:58 am »
Fixed in the CCR version. Thanks for reporting.

 

TinyPortal © 2005-2018