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