aboutsummaryrefslogtreecommitdiff
path: root/compress.c
diff options
context:
space:
mode:
Diffstat (limited to 'compress.c')
-rw-r--r--compress.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/compress.c b/compress.c
index cc5e31d..56501c1 100644
--- a/compress.c
+++ b/compress.c
@@ -8,7 +8,7 @@
8 This file is a part of bzip2 and/or libbzip2, a program and 8 This file is a part of bzip2 and/or libbzip2, a program and
9 library for lossless, block-sorting data compression. 9 library for lossless, block-sorting data compression.
10 10
11 Copyright (C) 1996-2000 Julian R Seward. All rights reserved. 11 Copyright (C) 1996-2002 Julian R Seward. All rights reserved.
12 12
13 Redistribution and use in source and binary forms, with or without 13 Redistribution and use in source and binary forms, with or without
14 modification, are permitted provided that the following conditions 14 modification, are permitted provided that the following conditions
@@ -663,10 +663,10 @@ void BZ2_compressBlock ( EState* s, Bool is_last_block )
663 /*-- If this is the first block, create the stream header. --*/ 663 /*-- If this is the first block, create the stream header. --*/
664 if (s->blockNo == 1) { 664 if (s->blockNo == 1) {
665 BZ2_bsInitWrite ( s ); 665 BZ2_bsInitWrite ( s );
666 bsPutUChar ( s, 'B' ); 666 bsPutUChar ( s, BZ_HDR_B );
667 bsPutUChar ( s, 'Z' ); 667 bsPutUChar ( s, BZ_HDR_Z );
668 bsPutUChar ( s, 'h' ); 668 bsPutUChar ( s, BZ_HDR_h );
669 bsPutUChar ( s, (UChar)('0' + s->blockSize100k) ); 669 bsPutUChar ( s, (UChar)(BZ_HDR_0 + s->blockSize100k) );
670 } 670 }
671 671
672 if (s->nblock > 0) { 672 if (s->nblock > 0) {