Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
slackydev authored Apr 3, 2018
1 parent e9b0b3c commit a9c4bce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Units/MMLCore/finder.pas
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,7 @@ function ColorSame_cts2(ctsInfo: Pointer; C2: PRGB32): boolean;
if Cmax = Cmin then
begin
//S and H are both zero, the color is gray, so ignore hue and leave it to saturation tolerance.
if {((i.H <= i.hueMod) or (100-i.H <= i.hueMod)) and}
(i.S <= i.satMod) then
if (i.S <= i.satMod) then
exit(true)
else
exit(false);
Expand Down

0 comments on commit a9c4bce

Please sign in to comment.