aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-01-22 08:49:00 +0800
committerJia Tan <jiat0218@gmail.com>2023-02-03 00:42:27 +0800
commit8dfc029e7a4ce45809c30313dc0e502f0d22be26 (patch)
treeae2c6c3a871e520245a02ddade476ed38ca6217e /src/liblzma/common
parentliblzma: Clarify block encoder and decoder documentation. (diff)
downloadxz-8dfc029e7a4ce45809c30313dc0e502f0d22be26.tar.xz
liblzma: Fix typos in comments in string_conversion.c.
Diffstat (limited to 'src/liblzma/common')
-rw-r--r--src/liblzma/common/string_conversion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblzma/common/string_conversion.c b/src/liblzma/common/string_conversion.c
index 53fdff2a..d5e2cd77 100644
--- a/src/liblzma/common/string_conversion.c
+++ b/src/liblzma/common/string_conversion.c
@@ -316,7 +316,7 @@ parse_lzma12_preset(const char **const str, const char *str_end,
assert(*str < str_end);
*preset = (uint32_t)(**str - '0');
- // NOTE: Remember to update LZMA_PRESET_STR if this is modified!
+ // NOTE: Remember to update LZMA12_PRESET_STR if this is modified!
while (++*str < str_end) {
switch (**str) {
case 'e':
@@ -667,7 +667,7 @@ parse_options(const char **const str, const char *str_end,
&& *p >= '0' && *p <= '9');
if (p < name_eq_value_end) {
- // Remember this position so that it an be
+ // Remember this position so that it can be
// used for error messages that are
// specifically about the suffix. (Out of
// range values are about the whole value