diff test/testbitmap.c @ 3094:c0ce3380742d

Fixed potential crash in testbitmap
author Sam Lantinga <slouken@libsdl.org>
date Sun, 22 Mar 2009 06:56:37 +0000
parents f55c87ae336b
children
line wrap: on
line diff
--- a/test/testbitmap.c	Tue Mar 17 03:56:21 2009 +0000
+++ b/test/testbitmap.c	Sun Mar 22 06:56:37 2009 +0000
@@ -108,7 +108,7 @@
     /* 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);
     }