aboutsummaryrefslogtreecommitdiff
path: root/common/file.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2004-07-01 12:18:28 +0000
committerEugene Sandulenko2004-07-01 12:18:28 +0000
commit3423c617a1130862f5b9bb417f17083a2eaaceac (patch)
treefb777f28f17c19a6c58ab3e1a12ce9d112d54012 /common/file.cpp
parentd01f52a7f58a5c94d02d89c00b3b81e5c0a869e5 (diff)
downloadscummvm-rg350-3423c617a1130862f5b9bb417f17083a2eaaceac.tar.gz
scummvm-rg350-3423c617a1130862f5b9bb417f17083a2eaaceac.tar.bz2
scummvm-rg350-3423c617a1130862f5b9bb417f17083a2eaaceac.zip
Fix bug introduced with last addDefaultDirectory() change. It prevented
lowercase files from opening. svn-id: r14148
Diffstat (limited to 'common/file.cpp')
-rw-r--r--common/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp
index 411e1d64a8..8526ed936e 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -93,7 +93,7 @@ FILE *File::fopenNoCase(const char *filename, const char *directory, const char
}
file = fopen(buf, mode);
- return NULL;
+ return file;
}
void File::addDefaultDirectory(const Common::String &directory) {