aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/debugger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp
index 6551c64599..5e2176a53e 100644
--- a/scumm/debugger.cpp
+++ b/scumm/debugger.cpp
@@ -1054,6 +1054,8 @@ bool ScummDebugger::TabComplete(const char *input, char*& completion) {
}
matchlen = j;
}
+ if (matchlen == 0)
+ return false;
}
}
}