summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1fa460f)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2232
1f10aa63-cdf2-0310-b900-
c93c546f37ac
//the bounds of the rectangle
Point p[2] = {point1,point2};
//the bounds of the rectangle
Point p[2] = {point1,point2};
- if((p[0][0] > p[1][0]) ^ wpp < 0)
+ if((p[0][0] > p[1][0]) ^ (wpp < 0))
{
swap(p[0][0],p[1][0]);
}
{
swap(p[0][0],p[1][0]);
}
- if((p[0][1] > p[1][1]) ^ hpp < 0)
+ if((p[0][1] > p[1][1]) ^ (hpp < 0))
{
swap(p[0][1],p[1][1]);
}
{
swap(p[0][1],p[1][1]);
}