Add my copyright to files I've modified.
[synfig.git] / synfig-core / trunk / src / modules / lyr_std / julia.cpp
index bb32cd3..04c8c98 100644 (file)
@@ -6,6 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2007 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
@@ -143,7 +144,7 @@ Julia::set_param(const String & param, const ValueBase &value)
        IMPORT(smooth_outside);
        IMPORT(broken);
 
-       if(param=="iterations" && value.same_as(iterations))
+       if(param=="iterations" && value.same_type_as(iterations))
        {
                iterations=value.get(iterations);
                if(iterations<0)
@@ -152,7 +153,7 @@ Julia::set_param(const String & param, const ValueBase &value)
                        iterations=500000;
                return true;
        }
-       if(param=="bailout" && value.same_as(bailout))
+       if(param=="bailout" && value.same_type_as(bailout))
        {
                bailout=value.get(bailout);
                bailout*=bailout;
@@ -204,7 +205,7 @@ Julia::get_color(Context context, const Point &pos)const
                zr_hold;
 
        ColorReal
-               depth, mag;
+               depth, mag(0);
 
        Color
                ret;