Skip to content

Commit

Permalink
IMG_xcf.c: fix build breakage.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Dec 24, 2018
1 parent 4679120 commit a475439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IMG_xcf.c
Expand Up @@ -886,7 +886,7 @@ SDL_Surface *IMG_LoadXCF_RW(SDL_RWops *src)
channel = (xcf_channel **) SDL_realloc (channel, sizeof (xcf_channel *) * (chnls+1));
fp = SDL_RWtell (src);
SDL_RWseek (src, offset, RW_SEEK_SET);
channel [chnls] = (read_xcf_channel (src));
channel [chnls] = (read_xcf_channel (src, head));
if (channel [chnls] != NULL)
chnls++;
SDL_RWseek (src, fp, RW_SEEK_SET);
Expand Down

0 comments on commit a475439

Please sign in to comment.