mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-27 14:42:51 -04:00
Fix missing return
This commit is contained in:
parent
65036e1a36
commit
931fcd0381
@ -242,6 +242,8 @@ void IsleApp::SetupVideoFlags(
|
||||
|
||||
int SDL_AppInit(void** appstate, int argc, char** argv)
|
||||
{
|
||||
*appstate = NULL;
|
||||
|
||||
// Add subsystems as necessary later
|
||||
if (SDL_Init(SDL_INIT_VIDEO) != 0 || SDL_Init(SDL_INIT_TIMER) != 0) {
|
||||
SDL_ShowSimpleMessageBox(
|
||||
@ -250,6 +252,7 @@ int SDL_AppInit(void** appstate, int argc, char** argv)
|
||||
"\"LEGO® Island\" failed to start. Please quit all other applications and try again.",
|
||||
NULL
|
||||
);
|
||||
return -1;
|
||||
}
|
||||
|
||||
// [library:window]
|
||||
|
Loading…
x
Reference in New Issue
Block a user