LCL: reduced warnings

git-svn-id: trunk@15312 -
This commit is contained in:
mattias 2008-06-05 05:10:35 +00:00
parent 96d3012446
commit f2c437b0e5

View File

@ -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);