diff options
Diffstat (limited to 'src/porting.cpp')
-rw-r--r-- | src/porting.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/porting.cpp b/src/porting.cpp index ad942b0bc..2fc5d0364 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -480,7 +480,7 @@ void initializePaths() bindir + DIR_DELIM + ".." + DIR_DELIM + "share" + DIR_DELIM + PROJECT_NAME); trylist.push_back(bindir + DIR_DELIM + ".."); #ifdef __ANDROID__ - trylist.push_back(DIR_DELIM "sdcard" DIR_DELIM PROJECT_NAME); + trylist.push_back(path_user); #endif for(std::list<std::string>::const_iterator i = trylist.begin(); @@ -502,8 +502,6 @@ void initializePaths() } #ifndef __ANDROID__ path_user = std::string(getenv("HOME")) + DIR_DELIM + "." + PROJECT_NAME; -#else - path_user = std::string(DIR_DELIM "sdcard" DIR_DELIM PROJECT_NAME DIR_DELIM); #endif /* |