Fixed a printf() format bug in the example code.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 07 Aug 2014 09:03:28 -0400
changeset 465e8573815cc1f
parent 464 cb6938c6111b
child 466 55801d955e3a
Fixed a printf() format bug in the example code.
IMG_xxx.c
     1.1 --- a/IMG_xxx.c	Sat Jul 26 10:45:46 2014 -0700
     1.2 +++ b/IMG_xxx.c	Thu Aug 07 09:03:28 2014 -0400
     1.3 @@ -65,7 +65,7 @@
     1.4              SDL_FreeSurface(surface);
     1.5              surface = NULL;
     1.6          }
     1.7 -        IMG_SetError(error);
     1.8 +        IMG_SetError("%s", error);
     1.9      }
    1.10      return surface;
    1.11  }