Added missing error return in test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 14 Apr 2016 21:10:08 +0200
changeset 10152 4960666f31ac
parent 10151 33d1646359f0
child 10153 2abd425e41dc
Added missing error return in test program.
test/testbounds.c
--- a/test/testbounds.c	Thu Apr 14 21:09:45 2016 +0200
+++ b/test/testbounds.c	Thu Apr 14 21:10:08 2016 +0200
@@ -18,6 +18,7 @@
 
     if (SDL_Init(SDL_INIT_VIDEO) < 0) {
         SDL_Log("SDL_Init(SDL_INIT_VIDEO) failed: %s", SDL_GetError());
+        return 1;
     }
 
     total = SDL_GetNumVideoDisplays();