mirror of
https://github.com/love2d/love-android.git
synced 2026-08-20 04:31:26 +02:00
fixed indentations
This commit is contained in:
@@ -229,19 +229,17 @@ bool Filesystem::setIdentity(const char *ident, bool appendToPath)
|
|||||||
save_path_full += save_path_relative;
|
save_path_full += save_path_relative;
|
||||||
|
|
||||||
#ifdef LOVE_ANDROID
|
#ifdef LOVE_ANDROID
|
||||||
std::string internal_storage_path = SDL_AndroidGetInternalStoragePath();
|
std::string internal_storage_path = SDL_AndroidGetInternalStoragePath();
|
||||||
|
|
||||||
std::string save_directory = internal_storage_path + "/save";
|
std::string save_directory = internal_storage_path + "/save";
|
||||||
|
|
||||||
save_path_full = std::string(SDL_AndroidGetInternalStoragePath()) + std::string("/save/") + save_identity;
|
save_path_full = std::string(SDL_AndroidGetInternalStoragePath()) + std::string("/save/") + save_identity;
|
||||||
|
|
||||||
|
if (androidDirectoryExists (save_path_full.c_str())) {
|
||||||
if (androidDirectoryExists (save_path_full.c_str())) {
|
SDL_Log ("dir exists");
|
||||||
SDL_Log ("dir exists");
|
} else {
|
||||||
} else {
|
SDL_Log ("does not exist");
|
||||||
SDL_Log ("does not exist");
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (!androidDirectoryExists (save_path_full.c_str())) {
|
if (!androidDirectoryExists (save_path_full.c_str())) {
|
||||||
if (!androidMkdir (save_path_full.c_str())) {
|
if (!androidMkdir (save_path_full.c_str())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user