summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-10 20:16:03 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-10 20:47:24 +0300
commit6c9c56b70db43f4100863d312835fce763698008 (patch)
tree4a182019f18677c1b71202a79d8f4faceebe05c9 /src/gui/windows
parent5e7866bd7cc3bf850d9ba3e636d8eca88ac797c7 (diff)
downloadmv-6c9c56b70db43f4100863d312835fce763698008.tar.gz
mv-6c9c56b70db43f4100863d312835fce763698008.tar.bz2
mv-6c9c56b70db43f4100863d312835fce763698008.tar.xz
mv-6c9c56b70db43f4100863d312835fce763698008.zip
Rename physfstools into virtfs.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/minimap.cpp6
-rw-r--r--src/gui/windows/updaterwindow.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp
index d5947d934..ce316b1eb 100644
--- a/src/gui/windows/minimap.cpp
+++ b/src/gui/windows/minimap.cpp
@@ -50,7 +50,7 @@
#include "resources/loaders/imageloader.h"
#include "utils/gettext.h"
-#include "utils/physfstools.h"
+#include "utils/virtfs.h"
#include "utils/sdlcheckutils.h"
#include "debug.h"
@@ -180,14 +180,14 @@ void Minimap::setMap(const Map *const map)
std::string minimapName = map->getProperty("minimap");
- if (minimapName.empty() && PhysFs::exists(tempname.c_str()))
+ if (minimapName.empty() && VirtFs::exists(tempname.c_str()))
minimapName = tempname;
if (minimapName.empty())
{
tempname = std::string("graphics/minimaps/").append(
map->getFilename()).append(".png");
- if (PhysFs::exists(tempname.c_str()))
+ if (VirtFs::exists(tempname.c_str()))
minimapName = tempname;
}
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp
index 3bf1d0e7b..645ec0e84 100644
--- a/src/gui/windows/updaterwindow.cpp
+++ b/src/gui/windows/updaterwindow.cpp
@@ -47,7 +47,7 @@
#include "utils/delete2.h"
#include "utils/files.h"
-#include "utils/physfstools.h"
+#include "utils/virtfs.h"
#include "utils/gettext.h"
#include "utils/mkdir.h"
#include "utils/paths.h"
@@ -1066,7 +1066,7 @@ unsigned long UpdaterWindow::getFileHash(const std::string &filePath)
{
int size = 0;
const char *const buf = static_cast<const char*>(
- PhysFs::loadFile(filePath, size));
+ VirtFs::loadFile(filePath, size));
if (!buf)
return 0;
return Net::Download::adlerBuffer(buf, size);