From e972e6a01ba308c90f17ecf111485b762c450efe Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Sat, 16 May 2026 09:08:08 +0300
Subject: [PATCH] core/android/SDL_android.c (AddAPKDirs): add missing opening
brace
fixes build errors
---
src/core/android/SDL_android.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/android/SDL_android.c b/src/core/android/SDL_android.c
index c8eff1c3d4cce..5b886b0ff34a6 100644
--- a/src/core/android/SDL_android.c
+++ b/src/core/android/SDL_android.c
@@ -2017,7 +2017,7 @@ static APKNode *AddAPKDirs(char *path, APKNode *parent)
break; // last thing is either an empty string (we ended with a '/'), or an actual file's name, so drop it.
}
- if ((path[0] == '.') && ((path[1] == '\0') || ((path[1] == '.') ||(path[2] == '\0'))))
+ if ((path[0] == '.') && ((path[1] == '\0') || ((path[1] == '.') ||(path[2] == '\0')))) {
// whoa, there's a "." or ".." subdir in a zip entry's path? Fail!
SDL_SetError("bogus file path in APK file entry");
return NULL;