mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-13 17:03:01 +02:00
LCL: reduced warnings
git-svn-id: trunk@15312 -
This commit is contained in:
parent
96d3012446
commit
f2c437b0e5
@ -138,7 +138,7 @@ begin
|
||||
// saturation
|
||||
if L <= 128
|
||||
then S := (diff * 255) div (cMax + cMin)
|
||||
else S := (diff * 255) div (510 - cMax - cMin);
|
||||
else S := integer(diff * 255) div (510 - cMax - cMin);
|
||||
|
||||
// hue
|
||||
Rdelta := (cMax - R);
|
||||
|
Loading…
Reference in New Issue
Block a user