diff options
author | Max Horn | 2006-05-03 20:49:33 +0000 |
---|---|---|
committer | Max Horn | 2006-05-03 20:49:33 +0000 |
commit | 05f6adbbd90f58346a0bca85793069c387c54b67 (patch) | |
tree | aeb7151779c221e1aec308d55445f4e9e234aba2 /common | |
parent | b67c30f6c8f5b7c31f9acd9aa7fe9ac1d295ba5f (diff) | |
download | scummvm-rg350-05f6adbbd90f58346a0bca85793069c387c54b67.tar.gz scummvm-rg350-05f6adbbd90f58346a0bca85793069c387c54b67.tar.bz2 scummvm-rg350-05f6adbbd90f58346a0bca85793069c387c54b67.zip |
Removed FilesystemNode::isValid (leaving it up to the porters to decide whether to remove their isValid code or not)
svn-id: r22317
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 b662ab9c44..cb9836294b 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -309,7 +309,7 @@ bool File::exists(const String &filename) { // First try to find the file it via a FilesystemNode (in case an absolute // path was passed). But we only use this to filter out directories. FilesystemNode file(filename); - if (file.isValid() && file.isDirectory()) + if (file.isDirectory()) return false; // Next, try to locate the file by *opening* it in read mode. This has |