aboutsummaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorN.N. <electrickery@users.sourceforge.net>2015-01-23 14:17:35 +0000
committerN.N. <electrickery@users.sourceforge.net>2015-01-23 14:17:35 +0000
commit24448e4c41ef24b2227bb6c11bf8869ca56843a6 (patch)
tree2968e9a824ea8cda3aac8da8d532dd4eae23e0fd /shared
parent8cd22bf16013235da90136407e18701555b393f4 (diff)
Fixed the bits-message for bitand~, bitor~ and bitxor~ in cyclone/sickle (bug #1186)
svn path=/trunk/externals/miXed/; revision=17418
Diffstat (limited to 'shared')
-rw-r--r--shared/unstable/forky.c4
1 files changed, 1 insertions, 3 deletions
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 */