[Scummvm-cvs-logs] scummvm master -> 833c692fc96820a47da4ec4068517a85cafb8fc0
lordhoto
lordhoto at gmail.com
Thu Oct 6 02:59:42 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
833c692fc9 SCUMM: Make some variables const and one furthermore static.
Commit: 833c692fc96820a47da4ec4068517a85cafb8fc0
https://github.com/scummvm/scummvm/commit/833c692fc96820a47da4ec4068517a85cafb8fc0
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2011-10-05T17:52:27-07:00
Commit Message:
SCUMM: Make some variables const and one furthermore static.
Changed paths:
engines/scumm/detection.cpp
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index b63cc10..92face5 100644
--- a/engines/scumm/detection.cpp
+++ b/engines/scumm/detection.cpp
@@ -318,8 +318,8 @@ static bool detectSpeech(const Common::FSList &fslist, const GameSettings *gs) {
if (gs->platform == Common::kPlatformFMTowns)
return false;
- const char *basenames[] = { gs->gameid, "monster", 0 };
- const char *extensions[] = { "sou",
+ const char *const basenames[] = { gs->gameid, "monster", 0 };
+ static const char *const extensions[] = { "sou",
#ifdef USE_FLAC
"sof",
#endif
More information about the Scummvm-git-logs
mailing list