From: Carlos Lopez Date: Sun, 29 Aug 2010 08:13:58 +0000 (+0200) Subject: Fix IMPORT_AS macro to support set/get static parameter option. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1cbe1a38d19f8f2853da8bec1079990caa668e11;p=synfig.git Fix IMPORT_AS macro to support set/get static parameter option. --- diff --git a/synfig-core/src/synfig/layer.h b/synfig-core/src/synfig/layer.h index 87ec5bb..a867197 100644 --- a/synfig-core/src/synfig/layer.h +++ b/synfig-core/src/synfig/layer.h @@ -93,7 +93,7 @@ if (param==y && value.same_type_as(x)) \ { \ value.put(&x); \ - set_param_static(#x,value.get_static()); \ + set_param_static(y,value.get_static()); \ return true; \ }