aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/file_info.c
diff options
context:
space:
mode:
authorAntoine Cœur <antoine.coeur@ef.com>2019-05-08 13:30:57 +0800
committerLasse Collin <lasse.collin@tukaani.org>2019-05-11 20:52:37 +0300
commit2fb0ddaa557ce86e38fe06439930fa8665f092fd (patch)
treec868caf1d3886ebdbd7ce730a1217364daf6eb84 /src/liblzma/common/file_info.c
parentxz: In xz -lvv look at the widths of the check names too. (diff)
downloadxz-2fb0ddaa557ce86e38fe06439930fa8665f092fd.tar.xz
spelling
Diffstat (limited to 'src/liblzma/common/file_info.c')
-rw-r--r--src/liblzma/common/file_info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/common/file_info.c b/src/liblzma/common/file_info.c
index deb644f9..a6b7e145 100644
--- a/src/liblzma/common/file_info.c
+++ b/src/liblzma/common/file_info.c
@@ -283,7 +283,7 @@ file_info_decode(void *coder_ptr, const lzma_allocator *allocator,
// This is the only Stream Header/Footer decoding where we
// want to return LZMA_FORMAT_ERROR if the Magic Bytes don't
- // match. Elsewehere it will be converted to LZMA_DATA_ERROR.
+ // match. Elsewhere it will be converted to LZMA_DATA_ERROR.
return_if_error(lzma_stream_header_decode(
&coder->first_header_flags, coder->temp));
@@ -828,7 +828,7 @@ lzma_file_info_decoder_init(lzma_next_coder *next,
// won't return 0 (which would indicate an error).
coder->memlimit = my_max(1, memlimit);
- // Preprare thse for reading the first Stream Header into coder->temp.
+ // Prepare these for reading the first Stream Header into coder->temp.
coder->temp_pos = 0;
coder->temp_size = LZMA_STREAM_HEADER_SIZE;