mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 05:19:27 +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
|
// saturation
|
||||||
if L <= 128
|
if L <= 128
|
||||||
then S := (diff * 255) div (cMax + cMin)
|
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
|
// hue
|
||||||
Rdelta := (cMax - R);
|
Rdelta := (cMax - R);
|
||||||
|
Loading…
Reference in New Issue
Block a user