From 3423c617a1130862f5b9bb417f17083a2eaaceac Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 1 Jul 2004 12:18:28 +0000 Subject: Fix bug introduced with last addDefaultDirectory() change. It prevented lowercase files from opening. svn-id: r14148 --- common/file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/file.cpp') 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) { -- cgit v1.2.3