test/testhaptic.c
changeset 13070 d953f28d33e3
parent 9356 e87d6e1e812a
     1.1 --- a/test/testhaptic.c	Mon Sep 09 13:50:46 2019 -0700
     1.2 +++ b/test/testhaptic.c	Tue Sep 10 10:03:20 2019 +0300
     1.3 @@ -363,7 +363,7 @@
     1.4  main(int argc, char *argv[])
     1.5  {
     1.6      SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL compiled without Haptic support.\n");
     1.7 -    exit(1);
     1.8 +    return 1;
     1.9  }
    1.10  
    1.11  #endif