IMG_pnm.c
changeset 451 48116d511e5d
parent 368 8a61842d00ce
child 481 e77ad79ab3e0
     1.1 --- a/IMG_pnm.c	Sun May 11 11:21:10 2014 -0400
     1.2 +++ b/IMG_pnm.c	Sun Jun 15 13:16:42 2014 -0700
     1.3 @@ -236,7 +236,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  }