aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/background.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cruise/background.cpp')
-rw-r--r--engines/cruise/background.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cruise/background.cpp b/engines/cruise/background.cpp
index 1e7e87cf38..4d1284a802 100644
--- a/engines/cruise/background.cpp
+++ b/engines/cruise/background.cpp
@@ -212,7 +212,7 @@ int loadBackground(const char *name, int idx) {
// NOTE: the following is really meant to compare pointers and not the actual
// strings. See r48092 and r48094.
if (name != backgroundTable[idx].name) {
- if (strlen(name) >= sizeof(backgroundTable[idx].name))
+ if (strlen(name) >= sizeof(backgroundTable[idx].name))
warning("background name length exceeded allowable maximum");
Common::strlcpy(backgroundTable[idx].name, name, sizeof(backgroundTable[idx].name));