Ver código fonte

Added missing error return in test program.

Philipp Wiesemann 9 anos atrás
pai
commit
b53007b0c8
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      test/testbounds.c

+ 1 - 0
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();