aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/file_info.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;