diff options
| -rw-r--r-- | common/file.cpp | 4 | ||||
| -rw-r--r-- | common/file.h | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/common/file.cpp b/common/file.cpp index e124a5f90f..29c3b332da 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -262,10 +262,10 @@ bool File::open(const String &filename, AccessMode mode, const char *directory)  	return true;  } -bool File::exists(const String &filename, const char *directory) { +bool File::exists(const String &filename) {  	// FIXME: Ugly ugly hack!  	File tmp; -	return tmp.open(filename, kFileReadMode, directory); +	return tmp.open(filename, kFileReadMode);  }  void File::close() { diff --git a/common/file.h b/common/file.h index 27d062a41d..995e776a82 100644 --- a/common/file.h +++ b/common/file.h @@ -61,7 +61,7 @@ public:  	void decRef();  	virtual bool open(const String &filename, AccessMode mode = kFileReadMode, const char *directory = NULL); -	static bool exists(const String &filename, const char *directory = NULL); +	static bool exists(const String &filename);  	virtual void close();  	bool isOpen() const; | 
