summaryrefslogtreecommitdiff
path: root/apps/interpreters/bas/program.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/interpreters/bas/program.c')
-rw-r--r--apps/interpreters/bas/program.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/interpreters/bas/program.c b/apps/interpreters/bas/program.c
index 900016063..f24318979 100644
--- a/apps/interpreters/bas/program.c
+++ b/apps/interpreters/bas/program.c
@@ -749,7 +749,8 @@ struct Value *Program_list(struct Program *this, int dev, int watchIntr,
{
return Value_new_ERROR(value, IOERROR, FS_errmsg);
}
- if (watchIntr && FS_intr)
+
+ if (watchIntr)
{
return Value_new_ERROR(value, BREAK);
}