aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorJohannes Schickel2011-10-06 02:51:30 +0200
committerJohannes Schickel2011-10-06 02:52:27 +0200
commit833c692fc96820a47da4ec4068517a85cafb8fc0 (patch)
tree6e4d123ee53da2ffdd1b03267f1b8509534fc522 /engines/scumm
parent8d0a88e7f4529a53abdca35ac9b19a0e7a323335 (diff)
downloadscummvm-rg350-833c692fc96820a47da4ec4068517a85cafb8fc0.tar.gz
scummvm-rg350-833c692fc96820a47da4ec4068517a85cafb8fc0.tar.bz2
scummvm-rg350-833c692fc96820a47da4ec4068517a85cafb8fc0.zip
SCUMM: Make some variables const and one furthermore static.
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index b63cc100e6..92face553c 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