aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-08 14:00:58 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-11 13:41:43 +0200
commite4937710805c4b660fc629c15d9a6164b2d97822 (patch)
treeafdb927a29f34d9d7acc9697a93afad39bf6ddf6 /src/liblzma
parentxz: Avoid a compiler warning in progress_speed() in message.c. (diff)
downloadxz-e4937710805c4b660fc629c15d9a6164b2d97822.tar.xz
liblzma: Fix a comment in auto_decoder.c.
Diffstat (limited to 'src/liblzma')
-rw-r--r--src/liblzma/common/auto_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/common/auto_decoder.c b/src/liblzma/common/auto_decoder.c
index 6895c7cc..f58ab595 100644
--- a/src/liblzma/common/auto_decoder.c
+++ b/src/liblzma/common/auto_decoder.c
@@ -86,8 +86,8 @@ auto_decode(void *coder_ptr, const lzma_allocator *allocator,
// Fall through
case SEQ_FINISH:
- // When LZMA_DECODE_CONCATENATED was used and we were decoding
- // LZMA_Alone file, we need to check check that there is no
+ // When LZMA_CONCATENATED was used and we were decoding
+ // a LZMA_Alone file, we need to check that there is no
// trailing garbage and wait for LZMA_FINISH.
if (*in_pos < in_size)
return LZMA_DATA_ERROR;