aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan2/parse.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-06-22 22:02:51 -0700
committerPaul Gilbert2019-06-22 22:03:06 -0700
commitc0d5981ff9b125e0c56ce68707ade7e07e304206 (patch)
tree12359d73ea3afb11401fc0dd6fd9fde9c16796e5 /engines/glk/alan2/parse.cpp
parent3683e74d65273126afd3d7a101c656b7b52b8580 (diff)
downloadscummvm-rg350-c0d5981ff9b125e0c56ce68707ade7e07e304206.tar.gz
scummvm-rg350-c0d5981ff9b125e0c56ce68707ade7e07e304206.tar.bz2
scummvm-rg350-c0d5981ff9b125e0c56ce68707ade7e07e304206.zip
GLK: ALAN2: Fix quitting in-game
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;