Code

Stop overrun.
authorJon A. Cruz <jon@joncruz.org>
Sun, 12 Sep 2010 06:48:43 +0000 (23:48 -0700)
committerJon A. Cruz <jon@joncruz.org>
Sun, 12 Sep 2010 06:48:43 +0000 (23:48 -0700)
src/widgets/sp-color-selector.cpp

index 203bc3c2a8dc3d2c490f32cd979f8dd10fad7d26..b879dab5ab159eb1dcbc0063a48dd4830cf4e55e 100644 (file)
@@ -338,10 +338,6 @@ void ColorSelector::getColorAlpha( SPColor &color, gfloat &alpha ) const
     {
         i++;
     }
-    if ( color.v.c[3] )
-    {
-        i++;
-    }
     if ( alpha )
     {
         i++;