From bf3b411929e54fc69aaee784b8b1572a12621f4a Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Fri, 6 Feb 2004 17:03:34 +0000 Subject: fixed widgetbehaviour for MS compiler svn path=/trunk/externals/ggee/; revision=1314 --- gui/w_envgen.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gui/w_envgen.h') diff --git a/gui/w_envgen.h b/gui/w_envgen.h index 02439f2..89a6c85 100755 --- a/gui/w_envgen.h +++ b/gui/w_envgen.h @@ -308,7 +308,6 @@ static void envgen_getrect(t_gobj *z, t_glist *owner, int width, height; t_envgen* s = (t_envgen*)z; - width = s->w.width + 2*BORDER; height = s->w.height + 2*BORDER; *xp1 = s->x_obj.te_xpix-BORDER; @@ -402,7 +401,7 @@ static void envgen_followpointer(t_envgen* x) void envgen_motion(t_envgen *x, t_floatarg dx, t_floatarg dy) { - if (x->w.shift) { + if (x->w.shift) { x->w.pointerx+=dx/1000.f; x->w.pointery+=dy/1000.f; } -- cgit v1.2.1