IMG_xcf.c: fix build breakage.
authorOzkan Sezer <sezeroz@gmail.com>
Mon, 24 Dec 2018 10:00:02 +0300
changeset 637dd18f877db67
parent 633 d3c9832b95fb
child 638 e3e9d7430674
IMG_xcf.c: fix build breakage.
IMG_xcf.c
     1.1 --- a/IMG_xcf.c	Thu Dec 06 14:19:10 2018 +0100
     1.2 +++ b/IMG_xcf.c	Mon Dec 24 10:00:02 2018 +0300
     1.3 @@ -886,7 +886,7 @@
     1.4      channel = (xcf_channel **) SDL_realloc (channel, sizeof (xcf_channel *) * (chnls+1));
     1.5      fp = SDL_RWtell (src);
     1.6      SDL_RWseek (src, offset, RW_SEEK_SET);
     1.7 -    channel [chnls] = (read_xcf_channel (src));
     1.8 +    channel [chnls] = (read_xcf_channel (src, head));
     1.9      if (channel [chnls] != NULL)
    1.10        chnls++;
    1.11      SDL_RWseek (src, fp, RW_SEEK_SET);