Fixed potential crash in testbitmap
authorSam Lantinga <slouken@libsdl.org>
Sun, 22 Mar 2009 06:56:37 +0000
changeset 3094c0ce3380742d
parent 3093 375ee92745e8
child 3095 75483112b97f
Fixed potential crash in testbitmap
test/testbitmap.c
     1.1 --- a/test/testbitmap.c	Tue Mar 17 03:56:21 2009 +0000
     1.2 +++ b/test/testbitmap.c	Sun Mar 22 06:56:37 2009 +0000
     1.3 @@ -108,7 +108,7 @@
     1.4      /* Set 640x480 video mode */
     1.5      if ((screen =
     1.6           SDL_SetVideoMode(video_w, video_h, video_bpp, videoflags)) == NULL) {
     1.7 -        fprintf(stderr, "Couldn't set %%d%d video mode: %s\n", video_w,
     1.8 +        fprintf(stderr, "Couldn't set %dx%d %d video mode: %s\n", video_w,
     1.9                  video_h, video_bpp, SDL_GetError());
    1.10          quit(2);
    1.11      }