X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fstate_rectangle.cpp;h=a6c3ddf029b95f7db36570aee10631b0141c9281;hb=ebab46356c26b8f2b2849bfaeb0f0a3a8000b6c6;hp=8959429bc1a07dcbb895321e7a1db155ee6b5606;hpb=23afd999cfa673044db848f8b6c2f9eccb6c639f;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/state_rectangle.cpp b/synfig-studio/trunk/src/gtkmm/state_rectangle.cpp index 8959429..a6c3ddf 100644 --- a/synfig-studio/trunk/src/gtkmm/state_rectangle.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_rectangle.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 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 @@ -489,8 +490,8 @@ StateRectangle_Context::make_rectangle(const Point& _p1, const Point& _p2) { new_list.push_back(*(new BLinePoint)); new_list[i].set_width(1); - new_list[i].set_vertex(Point((i==0||i==1)?x_min:x_max, - (i==0||i==3)?y_min:y_max)); + new_list[i].set_vertex(Point((i==0||i==3)?x_min:x_max, + (i==0||i==1)?y_min:y_max)); new_list[i].set_tangent(Point(0,0)); }