const correctness

svn-id: r41765
This commit is contained in:
Sven Hesse 2009-06-22 11:53:46 +00:00
parent 4f631e9a89
commit 59c32e72fb

View File

@ -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);