diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-23 19:51:29 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-23 19:51:29 +0000 |
commit | e17d443108452981fb1362366817b9b170c81ddc (patch) | |
tree | 1ec6bfa0163e3e6584f16334b7af77c1e15215a7 | |
parent | 0690ab246e27c6d9080148cca9188dbe1aef0724 (diff) |
fixed errors with vc7 (variable decleration not at beginning of block)
svn path=/trunk/externals/iem/iemmatrix/; revision=3757
-rw-r--r-- | src/mtx_binop_generic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mtx_binop_generic.h b/src/mtx_binop_generic.h index b059f6b..70e1838 100644 --- a/src/mtx_binop_generic.h +++ b/src/mtx_binop_generic.h @@ -109,14 +109,14 @@ static void mtxbin_matrix(t_mtx_binmtx *x, t_symbol *s, int argc, t_atom *argv) if(x->m2.col==1&&x->m2.row==1) { - adjustsize(&x->m, row, col); - m = x->m.atombuffer+2; - #ifdef MTXBIN_GENERIC__INTEGEROP t_int offset=atom_getint(m2); #else t_float offset=atom_getfloat(m2); #endif + adjustsize(&x->m, row, col); + m = x->m.atombuffer+2; + while(n--){ #ifdef MTXBIN_GENERIC__INTEGEROP t_float f = (t_float)(atom_getint(m1) MTXBIN_GENERIC__OPERATOR offset); |