diff options
Diffstat (limited to 'keymash.c')
-rw-r--r-- | keymash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ main (int argc, char *argv[]) { } switchup = switchup > 0 ? 0 : switchup-1; } - if (switchup < 2 || switchup > -2) { + if (switchup < 2 && switchup > -2) { val = abs(rand() % 2); } else { val = switchup < 0 ? 0 : 1; |