mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
liblzma: Fix typos in comments in string_conversion.c.
This commit is contained in:
parent
32dbe045d7
commit
3fa0f3ba12
1 changed files with 2 additions and 2 deletions
|
@ -316,7 +316,7 @@ parse_lzma12_preset(const char **const str, const char *str_end,
|
||||||
assert(*str < str_end);
|
assert(*str < str_end);
|
||||||
*preset = (uint32_t)(**str - '0');
|
*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) {
|
while (++*str < str_end) {
|
||||||
switch (**str) {
|
switch (**str) {
|
||||||
case 'e':
|
case 'e':
|
||||||
|
@ -667,7 +667,7 @@ parse_options(const char **const str, const char *str_end,
|
||||||
&& *p >= '0' && *p <= '9');
|
&& *p >= '0' && *p <= '9');
|
||||||
|
|
||||||
if (p < name_eq_value_end) {
|
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
|
// used for error messages that are
|
||||||
// specifically about the suffix. (Out of
|
// specifically about the suffix. (Out of
|
||||||
// range values are about the whole value
|
// range values are about the whole value
|
||||||
|
|
Loading…
Reference in a new issue