From b3318599553cdee2ffd0bd508d16125b28610f44 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 25 Jan 2008 14:15:01 +0000 Subject: [PATCH] Avoid warning. git-svn-id: http://svn.voria.com/code@1474 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/layer_solidcolor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synfig-core/trunk/src/synfig/layer_solidcolor.cpp b/synfig-core/trunk/src/synfig/layer_solidcolor.cpp index 1d3ee76..aec6a11 100644 --- a/synfig-core/trunk/src/synfig/layer_solidcolor.cpp +++ b/synfig-core/trunk/src/synfig/layer_solidcolor.cpp @@ -72,9 +72,9 @@ Layer_SolidColor::Layer_SolidColor(): bool Layer_SolidColor::set_param(const String & param, const ValueBase &value) { - IMPORT_PLUS(color, { if (color.get_a() == 0) if (converted_blend_) { + IMPORT_PLUS(color, { if (color.get_a() == 0) { if (converted_blend_) { set_blend_method(Color::BLEND_ALPHA_OVER); - color.set_a(1); } else transparent_color_ = true; }); + color.set_a(1); } else transparent_color_ = true; } }); return Layer_Composite::set_param(param,value); } -- 2.7.4