From 8a9603dd4d4c5e778b1f00340903769feefdef08 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 22 Mar 2009 06:56:37 +0000 Subject: [PATCH] Fixed potential crash in testbitmap --- test/testbitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testbitmap.c b/test/testbitmap.c index 86ccdbe4f..78b79a77f 100644 --- a/test/testbitmap.c +++ b/test/testbitmap.c @@ -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); }