aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-09-12 14:07:36 +0300
committerLasse Collin <lasse.collin@tukaani.org>2009-09-12 14:07:36 +0300
commit4ab7b16b9573bdfa32279e4adadff684d5cd58ac (patch)
tree74e02de3509688ea7651b5c1c2b2a20ebbc83d7a /src/liblzma/common
parentUpdated THANKS. (diff)
downloadxz-4ab7b16b9573bdfa32279e4adadff684d5cd58ac.tar.xz
A few grammar fixes.
Thanks to Christian Weisgerber for pointing out some of these.
Diffstat (limited to '')
-rw-r--r--src/liblzma/common/block_header_encoder.c2
-rw-r--r--src/liblzma/common/filter_common.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/common/block_header_encoder.c b/src/liblzma/common/block_header_encoder.c
index 8bef63b5..bc1a10f8 100644
--- a/src/liblzma/common/block_header_encoder.c
+++ b/src/liblzma/common/block_header_encoder.c
@@ -110,7 +110,7 @@ lzma_block_header_encode(const lzma_block *block, uint8_t *out)
size_t filter_count = 0;
do {
- // There can be at maximum of four filters.
+ // There can be a maximum of four filters.
if (filter_count == LZMA_FILTERS_MAX)
return LZMA_PROG_ERROR;
diff --git a/src/liblzma/common/filter_common.c b/src/liblzma/common/filter_common.c
index ca1196aa..4762460a 100644
--- a/src/liblzma/common/filter_common.c
+++ b/src/liblzma/common/filter_common.c
@@ -155,7 +155,7 @@ validate_chain(const lzma_filter *filters, size_t *count)
} while (filters[++i].id != LZMA_VLI_UNKNOWN);
// There must be 1-4 filters. The last filter must be usable as
- // the last filter in the chain. At maximum of three filters are
+ // the last filter in the chain. A maximum of three filters are
// allowed to change the size of the data.
if (i > LZMA_FILTERS_MAX || !last_ok || changes_size_count > 3)
return LZMA_OPTIONS_ERROR;