diff options
Diffstat (limited to 'luaext/modemuncher.c')
-rw-r--r-- | luaext/modemuncher.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/luaext/modemuncher.c b/luaext/modemuncher.c index 9399eaa57..ed86d9f89 100644 --- a/luaext/modemuncher.c +++ b/luaext/modemuncher.c @@ -245,11 +245,11 @@ printf("modemuncher: doneflag = %u\n", doneFlag); if (ch_mode) switch (op) { case '+': - *mode = *mode |= ch_mode & affected_bits; + *mode |= ch_mode & affected_bits; break; case '-': - *mode = *mode &= ~(ch_mode & affected_bits); + *mode &= ~(ch_mode & affected_bits); break; case '=': |