From fd0a11afe23e34c223420009467c3ced750416d5 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 7 Jul 2024 16:46:50 -0400 Subject: whichbas: fix bug in $PUT/BLOAD logic. --- whichbas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whichbas.c b/whichbas.c index 6cb21c2..75867e1 100644 --- a/whichbas.c +++ b/whichbas.c @@ -372,7 +372,7 @@ CALLBACK(handle_end_stmt) { if(comma_count) { /* multiple args */ remove_type(BT_BXL_BXE); - } else if(program[last_cmd + 1] == OP_STRCONST) { + } else if(program[last_cmd_pos + 1] == OP_STRCONST) { /* one arg, string const. XXX: check var type */ remove_type(BT_TURBO); } -- cgit v1.2.3