X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Finit.c;h=ea7c8f9a744742b46fdf179a7d40ac3f5b719506;hp=731bdd19fa6312bab67960eb297f8d4aa338964a;hb=17c100ba4bca1cf8475905b6eeb502e581489c5c;hpb=b59d111d850aa928e2a839ba026adde64927d5a5 diff --git a/src/init.c b/src/init.c index 731bdd19..ea7c8f9a 100644 --- a/src/init.c +++ b/src/init.c @@ -6074,10 +6074,10 @@ void OpenAll() Error(ERR_DEBUG, "::: SDL_AndroidGetExternalStoragePath() == '%s'", SDL_AndroidGetExternalStoragePath()); Error(ERR_DEBUG, "::: SDL_AndroidGetExternalStorageState() == '%s'", - (SDL_AndroidGetExternalStorageState() == - SDL_ANDROID_EXTERNAL_STORAGE_READ ? "read" : - SDL_AndroidGetExternalStorageState() == - SDL_ANDROID_EXTERNAL_STORAGE_WRITE ? "write" : "not available")); + (SDL_AndroidGetExternalStorageState() & + SDL_ANDROID_EXTERNAL_STORAGE_WRITE ? "writable" : + SDL_AndroidGetExternalStorageState() & + SDL_ANDROID_EXTERNAL_STORAGE_READ ? "readable" : "not available")); #endif #endif }