Rearranged a bit. Use the new macro in valuenode.h introduced in the previous commit...
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_stripes.cpp
index 595e9d9..de0171e 100644 (file)
@@ -1,8 +1,8 @@
 /* === S Y N F I G ========================================================= */
 /*!    \file valuenode_stripes.cpp
-**     \brief Template File
+**     \brief Implementation of the "Stripes" valuenode conversion.
 **
-**     $Id: valuenode_stripes.cpp,v 1.1.1.1 2005/01/04 01:23:15 darco Exp $
+**     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@ -221,8 +221,9 @@ ValueNode_Stripes::link_local_name(int i)const
                        return _("Stripe Count");
                case 3:
                        return _("Width");
+               default:
+                       return String();
        }
-       return String();
 }
 
 String
@@ -239,8 +240,9 @@ ValueNode_Stripes::link_name(int i)const
                        return "stripes";
                case 3:
                        return "width";
+               default:
+                       return String();
        }
-       return String();
 }
 
 int