|
@@ -271,8 +271,8 @@ double ColorConversion::ccmax(double val1, double val2, double val3)
|
|
else if ( g == var_Max ) *h = ( 1./3 ) + del_R - del_B;
|
|
else if ( g == var_Max ) *h = ( 1./3 ) + del_R - del_B;
|
|
else if ( g == var_Max ) *h = ( 2./3 ) + del_G - del_R;
|
|
else if ( g == var_Max ) *h = ( 2./3 ) + del_G - del_R;
|
|
|
|
|
|
- if ( *h < 0 ) ; *h += 1;
|
|
|
|
- if ( *h > 1 ) ; *h -= 1;
|
|
|
|
|
|
+ if ( *h < 0 ) *h += 1;
|
|
|
|
+ if ( *h > 1 ) *h -= 1;
|
|
}
|
|
}
|
|
|
|
|
|
return 1;
|
|
return 1;
|