comparison src/lzfu.c @ 390:5c0ce43c7532

Fix a number of spelling mistakes Changes-by: codespell -w Suggested-by: codespell, spellintian, lintian I: libpst4: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libpst.so.4.1.14 occured occurred I: libpst-dev: spelling-error-in-manpage usr/share/man/man5/outlook.pst.5.gz Attachement Attachment
author Paul Wise <pabs3@bonedaddy.net>
date Sat, 21 Dec 2019 21:25:45 +0800
parents cf3df962f1e5
children
comparison
equal deleted inserted replaced
389:3f83feface7a 390:5c0ce43c7532
38 char* pst_lzfu_decompress(char* rtfcomp, uint32_t compsize, size_t *size) { 38 char* pst_lzfu_decompress(char* rtfcomp, uint32_t compsize, size_t *size) {
39 unsigned char dict[4096]; // the dictionary buffer 39 unsigned char dict[4096]; // the dictionary buffer
40 unsigned int dict_length = 0; // the dictionary pointer 40 unsigned int dict_length = 0; // the dictionary pointer
41 lzfuheader lzfuhdr; // the header of the lzfu block 41 lzfuheader lzfuhdr; // the header of the lzfu block
42 unsigned char flags; // 8 bits of flags (1=2byte block pointer into the dict, 0=1 byte literal) 42 unsigned char flags; // 8 bits of flags (1=2byte block pointer into the dict, 0=1 byte literal)
43 unsigned char flag_mask; // look at one flag bit each time thru the loop 43 unsigned char flag_mask; // look at one flag bit each time through the loop
44 uint32_t i; 44 uint32_t i;
45 char *out_buf; 45 char *out_buf;
46 uint32_t out_ptr = 0; 46 uint32_t out_ptr = 0;
47 uint32_t out_size; 47 uint32_t out_size;
48 uint32_t in_ptr; 48 uint32_t in_ptr;