From: cristy Date: Sat, 12 Apr 2014 23:23:02 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2452 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e47116d83df5883068ec544cccb4e707dea11e23;p=imagemagick --- diff --git a/coders/xcf.c b/coders/xcf.c index bdf97d587..24142ace9 100644 --- a/coders/xcf.c +++ b/coders/xcf.c @@ -237,28 +237,27 @@ static CompositeOperator GIMPBlendModeToCompositeOperator( { switch ( blendMode ) { - case GIMP_NORMAL_MODE: return( OverCompositeOp ); - case GIMP_DISSOLVE_MODE: return( DissolveCompositeOp ); - case GIMP_MULTIPLY_MODE: return( MultiplyCompositeOp ); - case GIMP_SCREEN_MODE: return( ScreenCompositeOp ); - case GIMP_OVERLAY_MODE: return( OverlayCompositeOp ); - case GIMP_DIFFERENCE_MODE: return( DifferenceCompositeOp ); - case GIMP_ADDITION_MODE: return( ModulusAddCompositeOp ); - case GIMP_SUBTRACT_MODE: return( ModulusSubtractCompositeOp ); - case GIMP_DARKEN_ONLY_MODE: return( DarkenCompositeOp ); - case GIMP_LIGHTEN_ONLY_MODE:return( LightenCompositeOp ); - case GIMP_HUE_MODE: return( HueCompositeOp ); - case GIMP_SATURATION_MODE: return( SaturateCompositeOp ); - case GIMP_COLOR_MODE: return( ColorizeCompositeOp ); - case GIMP_DODGE_MODE: return( ColorDodgeCompositeOp ); - case GIMP_BURN_MODE: return( ColorBurnCompositeOp ); - case GIMP_HARDLIGHT_MODE: return( HardLightCompositeOp ); - case GIMP_DIVIDE_MODE: return( DivideDstCompositeOp ); + case GIMP_NORMAL_MODE: return(OverCompositeOp); + case GIMP_DISSOLVE_MODE: return(DissolveCompositeOp); + case GIMP_MULTIPLY_MODE: return(MultiplyCompositeOp); + case GIMP_SCREEN_MODE: return(ScreenCompositeOp); + case GIMP_OVERLAY_MODE: return(OverlayCompositeOp); + case GIMP_DIFFERENCE_MODE: return(DifferenceCompositeOp); + case GIMP_ADDITION_MODE: return(ModulusAddCompositeOp); + case GIMP_SUBTRACT_MODE: return(ModulusSubtractCompositeOp); + case GIMP_DARKEN_ONLY_MODE: return(DarkenCompositeOp); + case GIMP_LIGHTEN_ONLY_MODE: return(LightenCompositeOp); + case GIMP_HUE_MODE: return(HueCompositeOp); + case GIMP_SATURATION_MODE: return(SaturateCompositeOp); + case GIMP_COLOR_MODE: return(ColorizeCompositeOp); + case GIMP_DODGE_MODE: return(ColorDodgeCompositeOp); + case GIMP_BURN_MODE: return(ColorBurnCompositeOp); + case GIMP_HARDLIGHT_MODE: return(HardLightCompositeOp); + case GIMP_DIVIDE_MODE: return(DivideDstCompositeOp); /* these are the ones we don't support...yet */ - case GIMP_BEHIND_MODE: return( OverCompositeOp ); - case GIMP_VALUE_MODE: return( OverCompositeOp ); - default: - return(OverCompositeOp); + case GIMP_BEHIND_MODE: return(OverCompositeOp); + case GIMP_VALUE_MODE: return(OverCompositeOp); + default: return(OverCompositeOp); } }