From b53007b0c8290e19a543c6f7e3b88f1a51ac245a Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Thu, 14 Apr 2016 21:10:08 +0200 Subject: [PATCH] Added missing error return in test program. --- test/testbounds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testbounds.c b/test/testbounds.c index a447c7a7e..b410be96c 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();