diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/groovie/resource.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/groovie/resource.cpp b/engines/groovie/resource.cpp index 10cf24a589..05b43b7d3c 100644 --- a/engines/groovie/resource.cpp +++ b/engines/groovie/resource.cpp @@ -170,8 +170,9 @@ bool ResMan_t7g::getResInfo(uint32 fileRef, ResInfo &resInfo) { } // Read the resource name (just for debugging purposes) - char resname[12]; + char resname[13]; rlFile->read(resname, 12); + resname[12] = 0; debugC(2, kGroovieDebugResource | kGroovieDebugAll, "Groovie::Resource: Resource name: %12s", resname); resInfo.filename = resname; |