]>
Commit | Line | Data |
---|---|---|
50f09ec2 JR |
1 | --- vice-2.4/src/gfxoutputdrv/gifdrv.c~ 2012-07-26 01:46:05.000000000 +0200 |
2 | +++ vice-2.4/src/gfxoutputdrv/gifdrv.c 2016-10-20 08:43:09.037546871 +0200 | |
3 | @@ -114,7 +114,7 @@ | |
4 | if (EGifPutScreenDesc(sdata->fd, screenshot->width, screenshot->height, 8, 0, gif_colors) == GIF_ERROR || | |
5 | EGifPutImageDesc(sdata->fd, 0, 0, screenshot->width, screenshot->height, 0, NULL) == GIF_ERROR) | |
6 | { | |
7 | - EGifCloseFile(sdata->fd); | |
8 | + EGifCloseFile(sdata->fd, NULL); | |
9 | VICE_FreeMapObject(gif_colors); | |
10 | lib_free(sdata->data); | |
11 | lib_free(sdata->ext_filename); | |
12 | @@ -145,7 +145,7 @@ | |
13 | ||
14 | sdata = screenshot->gfxoutputdrv_data; | |
15 | ||
16 | - EGifCloseFile(sdata->fd); | |
17 | + EGifCloseFile(sdata->fd, NULL); | |
18 | VICE_FreeMapObject(gif_colors); | |
19 | ||
20 | /* for some reason giflib will create a file with unexpected |