mirror of
https://github.com/prirun/p50em.git
synced 2026-01-13 15:17:32 +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:
parent
33f748f778
commit
280634b67e
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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user