Mercurial > hg > xemacs-beta
diff src/glyphs-x.c @ 60:2e6f5e180fb8 r19-16-pre5
Import from CVS: tag r19-16-pre5
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:58:59 +0200 |
parents | c0965ff3b039 |
children | 131b0175ea99 |
line wrap: on
line diff
--- a/src/glyphs-x.c Mon Aug 13 08:58:38 2007 +0200 +++ b/src/glyphs-x.c Mon Aug 13 08:58:59 2007 +0200 @@ -1213,7 +1213,8 @@ if (!src) { return; } else if (num_bytes > src->bytes_in_buffer) { - num_bytes = (long)src->bytes_in_buffer; + ERREXIT(cinfo, JERR_INPUT_EOF); + /*NOTREACHED*/ } src->bytes_in_buffer -= num_bytes;