1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 12:28:22 +01:00

fixed broken loading gif images

This commit is contained in:
dan
2002-10-28 05:36:42 +00:00
parent 3af4aa7846
commit a1d78d102a

View File

@@ -78,7 +78,7 @@ RLoadGIF(RContext *context, char *file, int index)
return NULL;
}
if (gif->Image.Width<1 || gif->Image.Height<1) {
if (gif->SWidth<1 || gif->SHeight<1) {
DGifCloseFile(gif);
RErrorCode = RERR_BADIMAGEFILE;
return NULL;