From fb766eefb40e84a1e9f69440ceba1184be936ded Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 22 Feb 2004 20:54:04 +0000 Subject: [PATCH] Decode encountered global headers. --- src/list.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/list.c b/src/list.c index fdc8fa9..05f2332 100644 --- a/src/list.c +++ b/src/list.c @@ -395,9 +395,13 @@ read_header (bool raw_extended_headers) *bp = '\0'; } - else if (header->header.typeflag == XHDTYPE - || header->header.typeflag == XGLTYPE) + else if (header->header.typeflag == XHDTYPE) xheader_read (header, OFF_FROM_HEADER (header->header.size)); + else if (header->header.typeflag == XGLTYPE) + { + xheader_read (header, OFF_FROM_HEADER (header->header.size)); + xheader_decode_global (); + } /* Loop! */ -- 2.45.2