diff options
author | Jia Tan <jiat0218@gmail.com> | 2024-02-16 22:53:46 +0800 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2024-02-16 22:54:59 +0800 |
commit | fb5f6aaf18584672d0fee5dbe41fd30fc6bf5422 (patch) | |
tree | 5b405755886d492d432e4916e58f7f325148e50c | |
parent | Translations: Update the Ukrainian man page translations. (diff) | |
download | xz-fb5f6aaf18584672d0fee5dbe41fd30fc6bf5422.tar.xz |
Fix typos discovered by codespell.
-rw-r--r-- | AUTHORS | 2 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/liblzma/rangecoder/range_decoder.h | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -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, @@ -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. diff --git a/src/liblzma/rangecoder/range_decoder.h b/src/liblzma/rangecoder/range_decoder.h index e70d73ef..eec721ac 100644 --- a/src/liblzma/rangecoder/range_decoder.h +++ b/src/liblzma/rangecoder/range_decoder.h @@ -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__)) @@ -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 { \ |