]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
liblzma: Reword a comment in index.h.
authorJia Tan <jiat0218@gmail.com>
Wed, 8 Feb 2023 12:35:32 +0000 (20:35 +0800)
committerJia Tan <jiat0218@gmail.com>
Wed, 15 Feb 2023 14:47:55 +0000 (22:47 +0800)
src/liblzma/api/lzma/index.h

index c349b5f7c8203f2698d9b7a62ccf371159aae2cd..b478af37e6d960e52014b288f94d73b6a3e9ab4a 100644 (file)
@@ -307,13 +307,13 @@ typedef enum {
  * \brief       Calculate memory usage of lzma_index
  *
  * On disk, the size of the Index field depends on both the number of Records
- * stored and how big values the Records store (due to variable-length integer
+ * stored and the size of the Records (due to variable-length integer
  * encoding). When the Index is kept in lzma_index structure, the memory usage
  * depends only on the number of Records/Blocks stored in the Index(es), and
  * in case of concatenated lzma_indexes, the number of Streams. The size in
  * RAM is almost always significantly bigger than in the encoded form on disk.
  *
- * This function calculates an approximate amount of memory needed hold
+ * This function calculates an approximate amount of memory needed to hold
  * the given number of Streams and Blocks in lzma_index structure. This
  * value may vary between CPU architectures and also between liblzma versions
  * if the internal implementation is modified.