aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/zvision/string_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/zvision/string_manager.cpp b/engines/zvision/string_manager.cpp
index 8c7e0aaa3d..d00ea21369 100644
--- a/engines/zvision/string_manager.cpp
+++ b/engines/zvision/string_manager.cpp
@@ -111,6 +111,7 @@ void StringManager::parseStrFile(const Common::String &fileName) {
}
lineNumber++;
+ assert(lineNumber <= NUM_TEXT_LINES);
}
}