From e5333824d29ee2a92ec2c474bffe03d83dac8d73 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 1 Sep 2003 16:33:33 +0000 Subject: fixed conflicting var names so that it compiles svn path=/trunk/externals/unauthorized/; revision=921 --- grid/grid2.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/grid/grid2.c b/grid/grid2.c index 924abd3..df53c5b 100644 --- a/grid/grid2.c +++ b/grid/grid2.c @@ -12,6 +12,9 @@ #include #include #include + +#include + #include "m_imp.h" #include "g_canvas.h" #include "t_tk.h" @@ -388,15 +391,15 @@ static void grid_motion(t_grid *x, t_floatarg dx, t_floatarg dy) } } -static void grid_set(t_grid *x, t_floatarg x, t_floatarg y) +static void grid_set(t_grid *x, t_floatarg dx, t_floatarg dy) { int xold = x->x_current; int yold = x->y_current; // post( "grid_set x=%f y=%f", x, y ); - x->x_current = x; - x->y_current = y; + x->x_current = dx; + x->y_current = dy; if(xold != x->x_current || yold != x->y_current) { grid_output_current(x); -- cgit v1.2.1