summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-18 01:07:09 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-18 01:07:09 +0300
commit566ce2ee769e863977d57ba156a281ade5cb9c05 (patch)
tree57c7fed83e2fa35588bd488431dd1129cf2345c3 /src/main.cpp
parent1c119959b43d7dde5291ea5ae5d70b59e72b8c10 (diff)
downloadmv-566ce2ee769e863977d57ba156a281ade5cb9c05.tar.gz
mv-566ce2ee769e863977d57ba156a281ade5cb9c05.tar.bz2
mv-566ce2ee769e863977d57ba156a281ade5cb9c05.tar.xz
mv-566ce2ee769e863977d57ba156a281ade5cb9c05.zip
move most direct calls to physfs to separate file.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9351536b9..0266dde21 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -27,13 +27,13 @@
#include <getopt.h>
#include <iostream>
-#include <physfs.h>
#include "utils/gettext.h"
#ifdef ANDROID
#include "utils/mkdir.h"
#endif
#include "utils/paths.h"
+#include "utils/physfstools.h"
#include "utils/xml.h"
#ifdef UNITTESTS
@@ -262,7 +262,7 @@ int main(int argc, char *argv[])
XML::initXML();
#ifdef WIN32
- SetCurrentDirectory(PHYSFS_getBaseDir());
+ SetCurrentDirectory(PhysFs::getBaseDir());
#endif
Client client(options);
if (!options.testMode)