From 24448e4c41ef24b2227bb6c11bf8869ca56843a6 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Fri, 23 Jan 2015 14:17:35 +0000 Subject: Fixed the bits-message for bitand~, bitor~ and bitxor~ in cyclone/sickle (bug #1186) svn path=/trunk/externals/miXed/; revision=17418 --- shared/unstable/forky.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'shared/unstable') diff --git a/shared/unstable/forky.c b/shared/unstable/forky.c index 3383dac..da703bb 100644 --- a/shared/unstable/forky.c +++ b/shared/unstable/forky.c @@ -93,9 +93,7 @@ t_int forky_getbitmask(int ac, t_atom *av) { if (av->a_type == A_FLOAT && (int)av->a_w.w_float) /* CHECKED */ - result |= bitmask; - /* CHECKED symbols are zero */ - bitmask >>= 1; + result += 1 << ac; av++; } /* CHECKED missing are zero */ -- cgit v1.2.1