diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-04-16 21:22:46 +0200 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-04-16 21:24:41 +0200 |
commit | c6b4edf8cc635ddcb2a8b3c0cef38dd88fa73768 (patch) | |
tree | e27d5070ac8631f965e52787be2777ac06c4d516 /src/resources/resourcemanager.cpp | |
parent | 3fb7414240a4dd48e39f840dc766e2bb29fad41d (diff) | |
download | mana-client-c6b4edf8cc635ddcb2a8b3c0cef38dd88fa73768.tar.gz mana-client-c6b4edf8cc635ddcb2a8b3c0cef38dd88fa73768.tar.bz2 mana-client-c6b4edf8cc635ddcb2a8b3c0cef38dd88fa73768.tar.xz mana-client-c6b4edf8cc635ddcb2a8b3c0cef38dd88fa73768.zip |
Renamed ResourceManager::moveFile to ResourceManager::copyFile and catched error when it fails.
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r-- | src/resources/resourcemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index e24ebafb..f7a2586e 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -419,7 +419,7 @@ void *ResourceManager::loadFile(const std::string &fileName, int &fileSize) return buffer; } -bool ResourceManager::moveFile(const std::string &src, const std::string &dst) +bool ResourceManager::copyFile(const std::string &src, const std::string &dst) { PHYSFS_file *srcFile = PHYSFS_openRead(src.c_str()); if (!srcFile) |