Browse Source

fixed bug(?) empty if clause

unknown 12 years ago
parent
commit
180a201d3e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      baselib/cc.cpp

+ 2 - 2
baselib/cc.cpp

@@ -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 = ( 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;