diff options
author | Eugene Sandulenko | 2004-07-01 12:18:28 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-07-01 12:18:28 +0000 |
commit | 3423c617a1130862f5b9bb417f17083a2eaaceac (patch) | |
tree | fb777f28f17c19a6c58ab3e1a12ce9d112d54012 /common | |
parent | d01f52a7f58a5c94d02d89c00b3b81e5c0a869e5 (diff) | |
download | scummvm-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')
-rw-r--r-- | common/file.cpp | 2 |
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) { |