diff options
author | Guenter Geiger <ggeiger@users.sourceforge.net> | 2004-02-06 17:03:34 +0000 |
---|---|---|
committer | Guenter Geiger <ggeiger@users.sourceforge.net> | 2004-02-06 17:03:34 +0000 |
commit | bf3b411929e54fc69aaee784b8b1572a12621f4a (patch) | |
tree | b07c1e1d42d1364c6eb130284e9e656e4b974c40 /gui/w_envgen.h | |
parent | 6ae2adb4937216e964c0d795c76277947fba77fb (diff) |
fixed widgetbehaviour for MS compiler
svn path=/trunk/externals/ggee/; revision=1314
Diffstat (limited to 'gui/w_envgen.h')
-rwxr-xr-x | gui/w_envgen.h | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |