diff options
Diffstat (limited to 'engines/m4/resource.cpp')
-rw-r--r-- | engines/m4/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/resource.cpp b/engines/m4/resource.cpp index 747077ac74..a1c5290afa 100644 --- a/engines/m4/resource.cpp +++ b/engines/m4/resource.cpp @@ -334,7 +334,7 @@ const char *MADSResourceManager::getResourceName(char asciiCh, int prefix, Exten strcat(resourceName, asciiStr); // Add in the index specified - if (index > 0) + if (index >= 0) sprintf(resourceName + strlen(resourceName), "%d", index); // Add in any suffix |