diff options
| author | 2014-11-30 22:29:32 +0000 | |
|---|---|---|
| committer | 2014-11-30 22:29:32 +0000 | |
| commit | 44322992e5119318299c35fc18e1397f7b263825 (patch) | |
| tree | 5d80009ee5df4c23e0292652eacfe386e4b57205 /src/lib | |
| parent | da5edaf6803868299d16a4e5b1cba1a66ba1528c (diff) | |
Fix various typos
Squashed commit of the following:
commit 040fd169bfd6845b33d3f86fd66afb4a632605c6
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date: Sun Nov 30 22:24:30 2014 +0000
Fix more typos in comments
commit 6121ae593008a574735427e047fdb7a16f4fa47f
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date: Sun Nov 30 22:20:37 2014 +0000
Fix more typos
Not all are in comments this time, but the vast majority are, and
the rest are in printed text. None are variable or constant names.
commit 84bc72573009bb46f5601f7257a7f7538f25cfc2
Author: Zoë Blade <zoe@bytenoise.co.uk>
Date: Sun Nov 30 22:01:46 2014 +0000
Fix some typos
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/formats/thom_cas.c | 2 | ||||
| -rw-r--r-- | src/lib/libflac/include/FLAC/metadata.h | 4 | ||||
| -rw-r--r-- | src/lib/sqlite3/sqlite3.c | 10 | ||||
| -rw-r--r-- | src/lib/util/flac.h | 2 | ||||
| -rw-r--r-- | src/lib/util/simple_set.h | 2 | ||||
| -rw-r--r-- | src/lib/winpcap/Packet32.h | 2 | ||||
| -rw-r--r-- | src/lib/winpcap/Win32-Extensions.h | 2 | ||||
| -rw-r--r-- | src/lib/zlib/deflate.c | 4 |
8 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/formats/thom_cas.c b/src/lib/formats/thom_cas.c index 301b3de7d10..e48f217ead6 100644 --- a/src/lib/formats/thom_cas.c +++ b/src/lib/formats/thom_cas.c @@ -20,7 +20,7 @@ raw wave. It saves some time & memory but disables the ability to "hear" the cassette. This does not affect raw wave files. - Also, we do not do this for k5 files because the the corresponding wave + Also, we do not do this for k5 files because the corresponding wave files are more compact anyway. */ /* It must be set accordingly in machine/thomson.c */ diff --git a/src/lib/libflac/include/FLAC/metadata.h b/src/lib/libflac/include/FLAC/metadata.h index 879b0b40a63..9d71ca378ae 100644 --- a/src/lib/libflac/include/FLAC/metadata.h +++ b/src/lib/libflac/include/FLAC/metadata.h @@ -665,7 +665,7 @@ FLAC_API FLAC__bool FLAC__metadata_simple_iterator_delete_block(FLAC__Metadata_S * * - Create a new chain using FLAC__metadata_chain_new(). A chain is a * linked list of FLAC metadata blocks. - * - Read all metadata into the the chain from a FLAC file using + * - Read all metadata into the chain from a FLAC file using * FLAC__metadata_chain_read() or FLAC__metadata_chain_read_ogg() and * check the status. * - Optionally, consolidate the padding using @@ -1690,7 +1690,7 @@ FLAC_API FLAC__bool FLAC__metadata_object_vorbiscomment_append_comment(FLAC__Str * For convenience, a trailing NUL is added to the entry if it doesn't have * one already. * - * Depending on the the value of \a all, either all or just the first comment + * Depending on the value of \a all, either all or just the first comment * whose field name(s) match the given entry's name will be replaced by the * given entry. If no comments match, \a entry will simply be appended. * diff --git a/src/lib/sqlite3/sqlite3.c b/src/lib/sqlite3/sqlite3.c index becc84a5e69..69c3218fdce 100644 --- a/src/lib/sqlite3/sqlite3.c +++ b/src/lib/sqlite3/sqlite3.c @@ -64544,7 +64544,7 @@ static int vdbeRecordCompareDebug( assert( mem1.zMalloc==0 ); /* rc==0 here means that one of the keys ran out of fields and - ** all the fields up to that point were equal. Return the the default_rc + ** all the fields up to that point were equal. Return the default_rc ** value. */ return pPKey2->default_rc; } @@ -64907,7 +64907,7 @@ SQLITE_PRIVATE int sqlite3VdbeRecordCompare( assert( mem1.zMalloc==0 ); /* rc==0 here means that one or both of the keys ran out of fields and - ** all the fields up to that point were equal. Return the the default_rc + ** all the fields up to that point were equal. Return the default_rc ** value. */ assert( CORRUPT_DB || pPKey2->default_rc==vdbeRecordCompareDebug(nKey1, pKey1, pPKey2) @@ -77813,7 +77813,7 @@ static int exprStructSize(Expr *p){ ** Note that with flags==EXPRDUP_REDUCE, this routines works on full-size ** (unreduced) Expr objects as they or originally constructed by the parser. ** During expression analysis, extra information is computed and moved into -** later parts of teh Expr object and that extra information might get chopped +** later parts of the Expr object and that extra information might get chopped ** off if the expression is reduced. Note also that it does not work to ** make a EXPRDUP_REDUCE copy of a reduced expression. It is only legal ** to reduce a pristine expression tree from the parser. The implementation @@ -82529,7 +82529,7 @@ static void stat4Destructor(void *pOld){ ** in the index (N). The second argument (C) is only used for STAT3 and STAT4. ** ** This routine allocates the Stat4Accum object in heap memory. The return -** value is a pointer to the the Stat4Accum object encoded as a blob (i.e. +** value is a pointer to the Stat4Accum object encoded as a blob (i.e. ** the size of the blob is sizeof(void*) bytes). */ static void statInit( @@ -86366,7 +86366,7 @@ static int hasColumn(const i16 *aiCol, int nCol, int x){ ** no rowid btree for a WITHOUT ROWID. Instead, the canonical ** data storage is a covering index btree. ** (2) Bypass the creation of the sqlite_master table entry -** for the PRIMARY KEY as the the primary key index is now +** for the PRIMARY KEY as the primary key index is now ** identified by the sqlite_master table entry of the table itself. ** (3) Set the Index.tnum of the PRIMARY KEY Index object in the ** schema to the rootpage from the main table. diff --git a/src/lib/util/flac.h b/src/lib/util/flac.h index 6a3f4e6b39c..d520045045b 100644 --- a/src/lib/util/flac.h +++ b/src/lib/util/flac.h @@ -79,7 +79,7 @@ private: UINT32 m_block_size; // block size // header stripping - bool m_strip_metadata; // strip the the metadata? + bool m_strip_metadata; // strip the metadata? UINT32 m_ignore_bytes; // how many bytes to ignore when writing bool m_found_audio; // have we hit the audio yet? }; diff --git a/src/lib/util/simple_set.h b/src/lib/util/simple_set.h index 9f9f127f6ec..7df0865362b 100644 --- a/src/lib/util/simple_set.h +++ b/src/lib/util/simple_set.h @@ -150,7 +150,7 @@ public: merge(left, parentNode); merge(right, parentNode); - // Now we're the the root + // Now we're the root m_root = parentNode; } else diff --git a/src/lib/winpcap/Packet32.h b/src/lib/winpcap/Packet32.h index 505bab7bd99..061c6460a4f 100644 --- a/src/lib/winpcap/Packet32.h +++ b/src/lib/winpcap/Packet32.h @@ -135,7 +135,7 @@ struct bpf_stat ///< from the beginning of the current capture. This value includes the packets ///< lost by the driver. UINT bs_drop; ///< number of packets that the driver lost from the beginning of a capture. - ///< Basically, a packet is lost when the the buffer of the driver is full. + ///< Basically, a packet is lost when the buffer of the driver is full. ///< In this situation the packet cannot be stored and the driver rejects it. UINT ps_ifdrop; ///< drops by interface. XXX not yet supported UINT bs_capt; ///< number of packets that pass the filter, find place in the kernel buffer and diff --git a/src/lib/winpcap/Win32-Extensions.h b/src/lib/winpcap/Win32-Extensions.h index b698c1e287b..3f12994ce24 100644 --- a/src/lib/winpcap/Win32-Extensions.h +++ b/src/lib/winpcap/Win32-Extensions.h @@ -45,7 +45,7 @@ extern "C" { */ struct pcap_send_queue { - u_int maxlen; ///< Maximum size of the the queue, in bytes. This variable contains the size of the buffer field. + u_int maxlen; ///< Maximum size of the queue, in bytes. This variable contains the size of the buffer field. u_int len; ///< Current size of the queue, in bytes. char *buffer; ///< Buffer containing the packets to be sent. }; diff --git a/src/lib/zlib/deflate.c b/src/lib/zlib/deflate.c index 51d7770f987..d4f63fc6b7a 100644 --- a/src/lib/zlib/deflate.c +++ b/src/lib/zlib/deflate.c @@ -160,7 +160,7 @@ struct static_tree_desc_s {int dummy;}; /* for buggy compilers */ /* =========================================================================== * Update a hash value with the given input byte - * IN assertion: all calls to to UPDATE_HASH are made with consecutive + * IN assertion: all calls to UPDATE_HASH are made with consecutive * input characters, so that a running hash key can be computed from the * previous key instead of complete recalculation each time. */ @@ -173,7 +173,7 @@ struct static_tree_desc_s {int dummy;}; /* for buggy compilers */ * the previous length of the hash chain. * If this file is compiled with -DFASTEST, the compression level is forced * to 1, and no hash chains are maintained. - * IN assertion: all calls to to INSERT_STRING are made with consecutive + * IN assertion: all calls to INSERT_STRING are made with consecutive * input characters and the first MIN_MATCH bytes of str are valid * (except for the last MIN_MATCH-1 bytes of the input file). */ |
