Commit a01cdb42 authored by Sam Lantinga's avatar Sam Lantinga

Fixed potential crash in testbitmap

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403561
parent 7a8aae67
...@@ -108,7 +108,7 @@ main(int argc, char *argv[]) ...@@ -108,7 +108,7 @@ main(int argc, char *argv[])
/* Set 640x480 video mode */ /* Set 640x480 video mode */
if ((screen = if ((screen =
SDL_SetVideoMode(video_w, video_h, video_bpp, videoflags)) == NULL) { SDL_SetVideoMode(video_w, video_h, video_bpp, videoflags)) == NULL) {
fprintf(stderr, "Couldn't set %%d%d video mode: %s\n", video_w, fprintf(stderr, "Couldn't set %dx%d %d video mode: %s\n", video_w,
video_h, video_bpp, SDL_GetError()); video_h, video_bpp, SDL_GetError());
quit(2); quit(2);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment