aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/archetype/archetype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/archetype/archetype.cpp')
-rw-r--r--engines/glk/archetype/archetype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/archetype/archetype.cpp b/engines/glk/archetype/archetype.cpp
index 78ba906d3c..4f388da521 100644
--- a/engines/glk/archetype/archetype.cpp
+++ b/engines/glk/archetype/archetype.cpp
@@ -274,7 +274,7 @@ bool Archetype::send_message(int transport, int message_sent, int recipient,
void *p;
ContextType c;
- if (message_sent == -1) {
+ if (message_sent == 0) {
cleanup(result);
return false;
}