From 46f38b8d427735b339a98994b0db776b874f05ad Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Thu, 15 Sep 2005 03:17:27 +0000 Subject: Bug fixes for 0.39-0, in preparation for releasing 0.39-1. svn path=/trunk/; revision=3561 --- pd/src/g_editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pd/src/g_editor.c') 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) -- cgit v1.2.1