From e41a4b4d4cdd4f4d7ef39981c753b92ca75dc07a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Dec 2015 01:49:57 +0300 Subject: Add const attribute to other files. --- src/dirs.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/dirs.cpp') 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() -- cgit v1.2.3-70-g09d2