diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/computer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/computer.cpp b/engines/hopkins/computer.cpp index 1307cd5796..4f8e373899 100644 --- a/engines/hopkins/computer.cpp +++ b/engines/hopkins/computer.cpp @@ -392,7 +392,7 @@ void ComputerManager::loadMenu() { ++lineNum; } ++tmpPtr; - } while (!loopCond); + } while (!loopCond && tmpPtr[0] != '\0' && lineNum < 50); _vm->_globals->freeMemory((byte *)ptr); } |