Commit b53007b0c8290e19a543c6f7e3b88f1a51ac245a

Philipp Wiesemann 2016-04-14T21:10:08

Added missing error return in test program.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/test/testbounds.c b/test/testbounds.c
index a447c7a..b410be9 100644
--- a/test/testbounds.c
+++ b/test/testbounds.c
@@ -18,6 +18,7 @@ int main(int argc, char **argv)
 
     if (SDL_Init(SDL_INIT_VIDEO) < 0) {
         SDL_Log("SDL_Init(SDL_INIT_VIDEO) failed: %s", SDL_GetError());
+        return 1;
     }
 
     total = SDL_GetNumVideoDisplays();