projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
And another two that are commented at the moment. But it's best to fix those as...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
valuenode_radialcomposite.cpp
diff --git
a/synfig-core/trunk/src/synfig/valuenode_radialcomposite.cpp
b/synfig-core/trunk/src/synfig/valuenode_radialcomposite.cpp
index
fc6996d
..
2df3815
100644
(file)
--- a/
synfig-core/trunk/src/synfig/valuenode_radialcomposite.cpp
+++ b/
synfig-core/trunk/src/synfig/valuenode_radialcomposite.cpp
@@
-261,7
+261,7
@@
ValueNode_RadialComposite::get_link_index_from_name(const String &name)const
if(name.empty())
throw Exception::BadLinkName(name);
- if(name[0]=='c')
+ if(name[0]=='c'
&& name.size() == 2 && name[1]-'0' >= 0 && name[1]-'0' < link_count()
)
return name[1]-'0';
switch(get_type())