diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-31 20:25:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-31 20:25:43 +0300 |
commit | 7e5386bc62f1f61d3409219292e1ec0d71cbd28e (patch) | |
tree | 3e4233abac1d52ff1103bdd8b4747a4e91b5f575 /src/utils | |
parent | 62879acf891f1939e16fa32d2426b56f08f1609b (diff) | |
download | manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.tar.gz manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.tar.bz2 manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.tar.xz manaplus-7e5386bc62f1f61d3409219292e1ec0d71cbd28e.zip |
fix code style.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/physfstools.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/utils/physfstools.cpp b/src/utils/physfstools.cpp index 325f7cddc..d44a37666 100644 --- a/src/utils/physfstools.cpp +++ b/src/utils/physfstools.cpp @@ -33,13 +33,17 @@ const char *dirSeparator = nullptr; namespace PhysFs { +#if defined(__native_client__) void init(const char *const name) { -#if defined(__native_client__) if (!PHYSFS_init("/fakebinary")) #elif defined(ANDROID) + void init(const char *const name A_UNUSED) + { if (!PHYSFS_init((getRealPath(".").append("/fakebinary")).c_str())) #else + void init(const char *const name) + { if (!PHYSFS_init(name)) #endif { |