mirror of
https://github.com/prirun/p50em.git
synced 2026-03-04 10:08:30 +00:00
em.c: fix precendence bug caught by compiler
Only affects the display of keys (float exception enabled) on a fatal error.
This commit is contained in:
2
em.c
2
em.c
@@ -1763,7 +1763,7 @@ char *keystring(unsigned short keys) {
|
||||
*sp++ = 'L';
|
||||
memcpy(sp, modes[(keys>>10) & 7], 3);
|
||||
sp += 3;
|
||||
if (keys & 01000 == 0) /* float exception enabled */
|
||||
if (!(keys & 01000)) /* float exception enabled */
|
||||
*sp++ = 'F';
|
||||
if (keys & 0400) /* int exception enabled */
|
||||
*sp++ = 'I';
|
||||
|
||||
Reference in New Issue
Block a user