X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvaluenode_integer.cpp;h=2b04eb02e1b2a00da2730091c69718919b133a03;hb=a89329256a2c4b3ef585922d2aea6d94f7e125b8;hp=1040c9a3bafa890afd1ff0f0b86659d9683fc3c9;hpb=c6b0c050710376d3cf99b7c083a7c47f1a0516c9;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/valuenode_integer.cpp b/synfig-core/trunk/src/synfig/valuenode_integer.cpp index 1040c9a..2b04eb0 100644 --- a/synfig-core/trunk/src/synfig/valuenode_integer.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_integer.cpp @@ -6,7 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley -** Copyright (c) 2007 Chris Moore +** Copyright (c) 2007, 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -75,7 +75,7 @@ ValueNode_Integer::ValueNode_Integer(const ValueBase &x): break; default: assert(0); - throw runtime_error("synfig::ValueNode_Integer:Bad type "+ValueBase::type_name(x.get_type())); + throw runtime_error(get_local_name()+_(":Bad type ")+ValueBase::type_local_name(x.get_type())); } } @@ -97,19 +97,15 @@ ValueNode_Integer::~ValueNode_Integer() } bool -ValueNode_Integer::set_link_vfunc(int i,ValueNode::Handle x) +ValueNode_Integer::set_link_vfunc(int i,ValueNode::Handle value) { assert(i>=0 && i