Mercurial > hg > xemacs-beta
diff src/glyphs-x.c @ 34:d620409f5eb8 r19-15b100
Import from CVS: tag r19-15b100
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:53:20 +0200 |
parents | 4103f0995bd7 |
children | c53a95d3c46d |
line wrap: on
line diff
--- a/src/glyphs-x.c Mon Aug 13 08:52:58 2007 +0200 +++ b/src/glyphs-x.c Mon Aug 13 08:53:20 2007 +0200 @@ -1677,6 +1677,12 @@ return GIF_ERROR; } } + + /* Only get 1 image from animated gifs. */ + /* #### if the rest of the file was bad, we still return + GIF_OK, since we don't even bother looking at it. Should + probably check for ImageCount == 1 above too, hmm. */ + goto done; break; case EXTENSION_RECORD_TYPE: @@ -1700,6 +1706,8 @@ } while (RecordType != TERMINATE_RECORD_TYPE); + done: + return GIF_OK; }