aboutsummaryrefslogtreecommitdiff
path: root/pd/src/g_editor.c
diff options
context:
space:
mode:
authorMiller Puckette <millerpuckette@users.sourceforge.net>2005-09-15 03:17:27 +0000
committerMiller Puckette <millerpuckette@users.sourceforge.net>2005-09-15 03:17:27 +0000
commit46f38b8d427735b339a98994b0db776b874f05ad (patch)
tree9292d6021d77955d5b63531176dec11d51312ddf /pd/src/g_editor.c
parentb8827f17107c537f192c60eef0d7840ba1d2d3e8 (diff)
Bug fixes for 0.39-0, in preparation for releasing 0.39-1.
svn path=/trunk/; revision=3561
Diffstat (limited to 'pd/src/g_editor.c')
-rw-r--r--pd/src/g_editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c
index c621d299..51372da9 100644
--- a/pd/src/g_editor.c
+++ b/pd/src/g_editor.c
@@ -75,7 +75,7 @@ void gobj_vis(t_gobj *x, struct _glist *glist, int flag)
if (x1 > x2)
m = x1, x1 = x2, x2 = m;
if (y1 > y2)
- m = y1, y1 = y2, x2 = m;
+ m = y1, y1 = y2, y2 = m;
gobj_getrect(x, glist, &gx1, &gy1, &gx2, &gy2);
if (gx1 < x1 || gx1 > x2 || gx2 < x1 || gx2 > x2 ||
gy1 < y1 || gy1 > y2 || gy2 < y1 || gy2 > y2)