Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix by Mattias
  • Loading branch information
Sam Lantinga committed May 11, 2001
1 parent c6c021b commit 42a2512
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IMG_xpm.c
Expand Up @@ -314,6 +314,10 @@ static SDL_Surface *load_xpm(char **xpm, SDL_RWops *src)
char ***xpmlines = NULL;
int pixels_len;

error = NULL;
linebuf = NULL;
buflen = 0;

if(xpm)
xpmlines = &xpm;

Expand Down

0 comments on commit 42a2512

Please sign in to comment.