Skip to content

Commit

Permalink
Fix typos discovered by codespell.
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaT75 committed Feb 16, 2024
1 parent c64723b commit fb5f6aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Authors of XZ Utils

Third-party code whose authors aren't listed here:

- GNU getopt_long() in the 'lib' direcotry is included for
- GNU getopt_long() in the 'lib' directory is included for
platforms that don't have a usable getopt_long().

- The build system files from GNU Autoconf, GNU Automake,
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ XZ Utils Release Notes

* x86-64 inline assembly. This works with GCC and Clang.

The default choice can currently be overriden by setting
The default choice can currently be overridden by setting
LZMA_RANGE_DECODER_CONFIG in CPPFLAGS: 0 means the basic
version and 3 means that branchless C version.

Expand Down
4 changes: 2 additions & 2 deletions src/liblzma/rangecoder/range_decoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
// 0x080 matched literal
// 0x100 direct bits
//
// The default can be overriden at build time by defining
// The default can be overridden at build time by defining
// LZMA_RANGE_DECODER_CONFIG to the desired mask.
#ifndef LZMA_RANGE_DECODER_CONFIG
# if defined(__x86_64__) && (defined(__GNUC__) || defined(__clang__))
Expand Down Expand Up @@ -184,7 +184,7 @@ do { \
/// Update the range decoder state and the used probability variable to
/// match a decoded bit of 0.
///
/// The x86-64 assemly uses the commented method but it seems that,
/// The x86-64 assembly uses the commented method but it seems that,
/// at least on x86-64, the first version is slightly faster as C code.
#define rc_update_0(prob) \
do { \
Expand Down

0 comments on commit fb5f6aa

Please sign in to comment.