changeset 3094:c0ce3380742d

Fixed potential crash in testbitmap
author Sam Lantinga <slouken@libsdl.org>
date Sun, 22 Mar 2009 06:56:37 +0000
parents 375ee92745e8
children 75483112b97f
files test/testbitmap.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
     }