# | Line 199 | Line 199 | color_check(COLOR c1, COLOR c2) | |
---|---|---|
199 | { | |
200 | int p; | |
201 | ||
202 | < | if (!real_check(colval(c1,RED)+colval(c1,GRN)+colval(c1,BLU)*(1./3.), |
203 | < | colval(c2,RED)+colval(c2,GRN)+colval(c2,BLU))*(1./3.)) |
202 | > | if (!real_check((colval(c1,RED)+colval(c1,GRN)+colval(c1,BLU))*(1./3.), |
203 | > | (colval(c2,RED)+colval(c2,GRN)+colval(c2,BLU))*(1./3.))) |
204 | return(0); | |
205 | ||
206 | p = (colval(c1,GRN) > colval(c1,RED)) ? GRN : RED; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |