mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-25 06:18:40 +00:00
core/android/SDL_android.c (AddAPKDirs): add missing opening brace
fixes build errors
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user