Fixed potential crash in testbitmap
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403561
This commit is contained in:
parent
7a8aae678e
commit
a01cdb4253
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ main(int argc, char *argv[])
|
|||
/* Set 640x480 video mode */
|
||||
if ((screen =
|
||||
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());
|
||||
quit(2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue