diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:49:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:49:57 +0300 |
commit | e41a4b4d4cdd4f4d7ef39981c753b92ca75dc07a (patch) | |
tree | 52478efd9359de529eaebce001a20f55ac7f57cb /src/dirs.cpp | |
parent | d5e0c211ced60c77acad477f30ef8039ef05b48b (diff) | |
download | plus-e41a4b4d4cdd4f4d7ef39981c753b92ca75dc07a.tar.gz plus-e41a4b4d4cdd4f4d7ef39981c753b92ca75dc07a.tar.bz2 plus-e41a4b4d4cdd4f4d7ef39981c753b92ca75dc07a.tar.xz plus-e41a4b4d4cdd4f4d7ef39981c753b92ca75dc07a.zip |
Add const attribute to other files.
Diffstat (limited to 'src/dirs.cpp')
-rw-r--r-- | src/dirs.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp index f1c9e9550..bcdea060c 100644 --- a/src/dirs.cpp +++ b/src/dirs.cpp @@ -168,8 +168,7 @@ void Dirs::updateDataPath() void Dirs::extractDataDir() { -#ifdef ANDROID -#ifdef USE_SDL2 +#if defined(ANDROID) && defined(USE_SDL2) Files::setCopyCallBack(&updateProgress); resetProgress(); extractAssets(); @@ -183,7 +182,6 @@ void Dirs::extractDataDir() Files::extractZip(zipName, "data", dirName); Files::extractLocale(); #endif -#endif } void Dirs::mountDataDir() |