aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan2/parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/alan2/parse.cpp')
-rw-r--r--engines/glk/alan2/parse.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/glk/alan2/parse.cpp b/engines/glk/alan2/parse.cpp
index bc12d3ea8e..5c9fd35db4 100644
--- a/engines/glk/alan2/parse.cpp
+++ b/engines/glk/alan2/parse.cpp
@@ -150,7 +150,7 @@ static char *gettoken(char *tokBuf) {
return tokBuf;
}
-static void agetline() {
+static void agetline(CONTEXT) {
para();
do {
statusline();
@@ -164,7 +164,7 @@ static void agetline() {
return;
newline();
- quit();
+ CALL0(quit)
}
getPageSize();
@@ -189,7 +189,7 @@ static void scan(CONTEXT) {
int w;
char *str;
- agetline();
+ CALL0(agetline)
if (g_vm->shouldQuit())
return;