# HG changeset patch # User Sam Lantinga # Date 1237704997 0 # Node ID c0ce3380742d728611d069f2620eae3dd2608a29 # Parent 375ee92745e8bf6c3b826e4c2e1580b4c6cbfaf5 Fixed potential crash in testbitmap diff -r 375ee92745e8 -r c0ce3380742d test/testbitmap.c --- 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); }