diff options
Diffstat (limited to 'src/mtx_find.c')
-rw-r--r-- | src/mtx_find.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mtx_find.c b/src/mtx_find.c index 8ff2796..b3fe0fe 100644 --- a/src/mtx_find.c +++ b/src/mtx_find.c @@ -134,7 +134,7 @@ static int findPreviousNonZero (const int n, t_atom *x, int offset) static int findPreviousNonZeroStep (const int step, t_atom *x, int offset) { x += offset; - for (; offset > 0; offset-=step, x-=step) + for (; offset >= 0; offset-=step, x-=step) if (atom_getfloat(x)) return offset; return -1; |