diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-09 03:18:20 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-09 03:18:20 -0400 |
commit | c9d130ecc88ac8399f6cbdc29acaa9d9318441c5 (patch) | |
tree | 478d9097ea82e262ed41a13a6f6b0c09d7497f0e | |
parent | f7434033acc7555a30ddc0fd88981cba72c9bac2 (diff) | |
download | bw-atari8-tools-c9d130ecc88ac8399f6cbdc29acaa9d9318441c5.tar.gz |
whichbas: fix bug in FRAC/DPEEK logic.
-rw-r--r-- | whichbas.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -526,7 +526,7 @@ CALLBACK(handle_op) { 1st arg is a constant or a numeric variable, but not if the 1st arg is an expression or an array element. */ int has2 = 0; - if(nexttok2 == OP_NUMCONST || nexttok == OP_HEXCONST) { + if(nexttok2 == OP_NUMCONST || nexttok2 == OP_HEXCONST) { if(program[pos + 9] == OP_ARR_COMMA) has2 = 1; } else if(nexttok2 >= 0x80 && program[pos + 3] == OP_ARR_COMMA) { |