From 1f74b681cb08f01e1f645b3182167908f18e3808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 12 Apr 2005 13:27:42 +0000 Subject: code cleanup svn path=/trunk/externals/zexy/; revision=2737 --- src/index.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/index.c') diff --git a/src/index.c b/src/index.c index 2f59f8e..9872076 100644 --- a/src/index.c +++ b/src/index.c @@ -73,13 +73,13 @@ static int find_free(char **names, int maxentries) static void index_float(t_index *x, t_float findex) { - int index = (int)findex; - if ((index > 0) && (index <= x->maxentries) && (x->names[index-1])) + int iindex = (int)findex; + if ((iindex > 0) && (iindex <= x->maxentries) && (x->names[iindex-1])) { /* TB: output symbol to outlet */ - t_symbol * s = gensym (x->names[index-1]); + t_symbol * s = gensym (x->names[iindex-1]); outlet_symbol (x->x_obj.ob_outlet,s); - post("index[%d] = %s", index, x->names[index-1]); + // post("iindex[%d] = %s", iindex, x->names[iindex-1]); } } -- cgit v1.2.1