Fix the last commit so it doesn't modify the strings. I had added a colon to the...
[synfig.git] / synfig-studio / trunk / src / gtkmm / state_circle.cpp
index fb06cd5..244862d 100644 (file)
@@ -494,8 +494,8 @@ StateCircle_Context::event_mouse_click_handler(const Smach::event& x)
 
                if (App::restrict_radius_ducks)
                {
-                       if ((point[0] - point_holder[0]) * get_work_area()->get_pw() < 0) point[0] = point_holder[0];
-                       if ((point[1] - point_holder[1]) * get_work_area()->get_ph() > 0) point[1] = point_holder[1];
+                       if ((point[0] - point_holder[0]) < 0) point[0] = point_holder[0];
+                       if ((point[1] - point_holder[1]) < 0) point[1] = point_holder[1];
                }
 
                make_circle(point_holder, point);