From 4ab7b16b9573bdfa32279e4adadff684d5cd58ac Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 12 Sep 2009 14:07:36 +0300 Subject: A few grammar fixes. Thanks to Christian Weisgerber for pointing out some of these. --- src/liblzma/common/block_header_encoder.c | 2 +- src/liblzma/common/filter_common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/liblzma/common') 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; -- cgit v1.2.3