From a39876ecfa56805d2b780ebccaae2e8a4577efbc Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 25 Jan 2008 14:14:24 +0000 Subject: [PATCH] Avoid warning. git-svn-id: http://svn.voria.com/code@1473 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/layer_composite.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synfig-core/trunk/src/synfig/layer_composite.cpp b/synfig-core/trunk/src/synfig/layer_composite.cpp index 16f2c33..d938e96 100644 --- a/synfig-core/trunk/src/synfig/layer_composite.cpp +++ b/synfig-core/trunk/src/synfig/layer_composite.cpp @@ -172,6 +172,7 @@ Layer_Composite::set_param(const String & param, const ValueBase &value) String version(canvas->get_version()); if (version == "0.1" || version == "0.2") + { if (get_name() == "PasteCanvas") warning("loaded a version %s canvas with a 'Straight' blended PasteCanvas (%s) - check it renders OK", version.c_str(), get_non_empty_description().c_str()); @@ -186,6 +187,7 @@ Layer_Composite::set_param(const String & param, const ValueBase &value) if (transparent_color_) set_param("color", get_param("color")); } + } } } } -- 2.7.4