From: dooglus Date: Tue, 18 Sep 2007 11:07:04 +0000 (+0000) Subject: Put the 'paste_canvas' and 'PasteCanvas' mentions on a single line to make things... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c8c1b343552d96b93ce9319ac24f009922197cd3;p=synfig.git Put the 'paste_canvas' and 'PasteCanvas' mentions on a single line to make things clearer when 'grep'ing the code. git-svn-id: http://svn.voria.com/code@707 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/duckmatic.cpp b/synfig-studio/trunk/src/gtkmm/duckmatic.cpp index 957b76b..ff263be 100644 --- a/synfig-studio/trunk/src/gtkmm/duckmatic.cpp +++ b/synfig-studio/trunk/src/gtkmm/duckmatic.cpp @@ -256,11 +256,8 @@ Duckmatic::is_duck_group_selectable(const etl::handle& x)const layer_name=="curve_gradient" ) return false; - if( - (layer_name=="PasteCanvas"|| - layer_name=="paste_canvas") - && !layer->get_param("children_lock").get(bool()) - ) + if((layer_name=="PasteCanvas"|| layer_name=="paste_canvas") && + !layer->get_param("children_lock").get(bool())) return false; } return true;