aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2009-06-22 11:53:46 +0000
committerSven Hesse2009-06-22 11:53:46 +0000
commit59c32e72fb03e69518db0b6f06b4a87f3a811be9 (patch)
treef3fd31ef8d8003bbac53ece7158e71565664b10d /engines/gob
parent4f631e9a8998788e3ebc9d346d7db6a7504c7058 (diff)
downloadscummvm-rg350-59c32e72fb03e69518db0b6f06b4a87f3a811be9.tar.gz
scummvm-rg350-59c32e72fb03e69518db0b6f06b4a87f3a811be9.tar.bz2
scummvm-rg350-59c32e72fb03e69518db0b6f06b4a87f3a811be9.zip
const correctness
svn-id: r41765
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/script.cpp b/engines/gob/script.cpp
index d4a48b460d..2f6c2b2098 100644
--- a/engines/gob/script.cpp
+++ b/engines/gob/script.cpp
@@ -304,7 +304,7 @@ bool Script::load(const char *fileName) {
Common::String *fileBase;
- char *dot;
+ const char *dot;
if ((dot = strrchr(fileName, '.'))) {
fileBase = new Common::String(fileName, dot);