Skip to content
Permalink
Browse files

Fixed return values on testhotplug mainline.

  • Loading branch information
icculus committed Feb 6, 2014
1 parent 1191a90 commit 257ab5f5731afc563ed65a5bc4f0c42206706455
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/testhotplug.c
@@ -126,14 +126,16 @@ main(int argc, char *argv[])
}

SDL_QuitSubSystem(SDL_INIT_VIDEO | SDL_INIT_JOYSTICK);

return 0;
}
#else

int
main(int argc, char *argv[])
{
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Joystick support.\n");
exit(1);
return 1;
}

#endif

0 comments on commit 257ab5f

Please sign in to comment.