mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-10 08:32:40 +00:00
testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward.
This commit is contained in:
@@ -41,7 +41,10 @@ static void
|
||||
quit(int rc)
|
||||
{
|
||||
SDL_Quit();
|
||||
exit(rc);
|
||||
/* Let 'main()' return normally */
|
||||
if (rc != 0) {
|
||||
exit(rc);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user