From: dooglus Date: Sat, 16 Feb 2008 04:55:33 +0000 (+0000) Subject: Prevent a warning from g++ 4.3. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c0fe9fb5226976a93b1a147338a3722869fcdd13;p=synfig.git Prevent a warning from g++ 4.3. git-svn-id: http://svn.voria.com/code@1706 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/duckmatic.cpp b/synfig-studio/trunk/src/gtkmm/duckmatic.cpp index 8475e06..52a380d 100644 --- a/synfig-studio/trunk/src/gtkmm/duckmatic.cpp +++ b/synfig-studio/trunk/src/gtkmm/duckmatic.cpp @@ -259,7 +259,8 @@ Duckmatic::is_duck_group_selectable(const etl::handle& x)const { const Type type(get_type_mask()); - if(( x->get_type() && (!(type & x->get_type())) || !x->get_editable() ) ) + if (((x->get_type() && (!(type & x->get_type()))) || + !x->get_editable())) return false; if(x->get_value_desc().parent_is_layer_param() && type & Duck::TYPE_POSITION)