aboutsummaryrefslogtreecommitdiff
path: root/common/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/file.cpp')
-rw-r--r--common/file.cpp4
1 files changed, 2 insertions, 2 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() {