aboutsummaryrefslogtreecommitdiff
path: root/common/file.cpp
diff options
context:
space:
mode:
authorMax Horn2008-09-15 12:37:18 +0000
committerMax Horn2008-09-15 12:37:18 +0000
commit5f2ceea1df3d11969e3828e3fd24cffed7203aea (patch)
tree28fe47ea0f0916a2df269b84ea70e3f4be3b8e2d /common/file.cpp
parent15959faf3ec45dbcc2576957a68b2f71f0057e48 (diff)
downloadscummvm-rg350-5f2ceea1df3d11969e3828e3fd24cffed7203aea.tar.gz
scummvm-rg350-5f2ceea1df3d11969e3828e3fd24cffed7203aea.tar.bz2
scummvm-rg350-5f2ceea1df3d11969e3828e3fd24cffed7203aea.zip
Corrected and shortened some file opening related warnings
svn-id: r34556
Diffstat (limited to 'common/file.cpp')
-rw-r--r--common/file.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/file.cpp b/common/file.cpp
index 668c97a734..cf396a32cd 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -108,10 +108,10 @@ bool File::open(const String &filename) {
bool File::open(const FilesystemNode &node) {
if (!node.exists()) {
- warning("File::open: Trying to open a FilesystemNode which does not exist");
+ warning("File::open: FilesystemNode does not exist");
return false;
} else if (node.isDirectory()) {
- warning("File::open: Trying to open a FilesystemNode which is a directory");
+ warning("File::open: FilesystemNode is a directory");
return false;
}
@@ -225,7 +225,7 @@ bool DumpFile::open(const FilesystemNode &node) {
assert(!_handle);
if (node.isDirectory()) {
- warning("File::open: Trying to open a FilesystemNode which is a directory");
+ warning("DumpFile::open: FilesystemNode is a directory");
return false;
}