We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a05aca5 commit b6fa89eCopy full SHA for b6fa89e
src/core/android/SDL_android.c
@@ -1855,7 +1855,7 @@ bool Android_JNI_FileClose(void *userdata)
1855
1856
bool Android_JNI_EnumerateAssetDirectory(const char *path, SDL_EnumerateDirectoryCallback cb, void *userdata)
1857
{
1858
- SDL_assert((*path == '\0') || (path[SDL_strlen(path) - 1] == '/')); // SDL_SYS_EnumerateDirectory() should have verified this.
+ SDL_assert(path != NULL);
1859
1860
if (!asset_manager) {
1861
Internal_Android_Create_AssetManager();
0 commit comments