X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Flayer_polygon.cpp;h=067f3bde994f10e7819098ba3179b32302fe9edf;hb=1ab5bedb77d59775e774ea67a55a0811668d015f;hp=544535567db54d999f0de30dbe5b7dccd131bcf5;hpb=cc54c38609ee9745ad678e5e9b9d7d2912be9c95;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/layer_polygon.cpp b/synfig-core/trunk/src/synfig/layer_polygon.cpp index 5445355..067f3bd 100644 --- a/synfig-core/trunk/src/synfig/layer_polygon.cpp +++ b/synfig-core/trunk/src/synfig/layer_polygon.cpp @@ -56,8 +56,8 @@ using namespace etl; SYNFIG_LAYER_INIT(Layer_Polygon); SYNFIG_LAYER_SET_NAME(Layer_Polygon,"polygon"); -SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Polygon,_("Polygon")); -SYNFIG_LAYER_SET_CATEGORY(Layer_Polygon,_("Geometry")); +SYNFIG_LAYER_SET_LOCAL_NAME(Layer_Polygon,N_("Polygon")); +SYNFIG_LAYER_SET_CATEGORY(Layer_Polygon,N_("Geometry")); SYNFIG_LAYER_SET_VERSION(Layer_Polygon,"0.1"); SYNFIG_LAYER_SET_CVS_ID(Layer_Polygon,"$Id$"); @@ -139,7 +139,7 @@ Layer_Polygon::clear() bool Layer_Polygon::set_param(const String & param, const ValueBase &value) { - if( param=="vector_list" && value.same_as(vector_list)) + if( param=="vector_list" && value.same_type_as(vector_list)) { vector_list=value; Layer_Shape::clear();