From: Brad Hards Date: Tue, 2 Jan 2007 11:54:03 +0000 (+0000) Subject: A few spelling fixes, identified using krazy. X-Git-Tag: v1.5~161 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9c7c6ae5f2fd6c6657855f5b8a6a3feb2826bbe;p=taglib A few spelling fixes, identified using krazy. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@618883 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff --git a/bindings/c/tag_c.h b/bindings/c/tag_c.h index 6f09393c..07dce46b 100644 --- a/bindings/c/tag_c.h +++ b/bindings/c/tag_c.h @@ -44,7 +44,7 @@ extern "C" { /* * These are used for type provide some type safety to the C API (as opposed to - * using void *, but pointers to them are simply cast to the coresponding C++ + * using void *, but pointers to them are simply cast to the corresponding C++ * types in the implementation. */ @@ -225,7 +225,7 @@ void taglib_tag_free_strings(); ******************************************************************************/ /*! - * Returns the lenght of the file in seconds. + * Returns the length of the file in seconds. */ int taglib_audioproperties_length(const TagLib_AudioProperties *audioProperties); diff --git a/taglib/audioproperties.h b/taglib/audioproperties.h index 4584b869..23c69617 100644 --- a/taglib/audioproperties.h +++ b/taglib/audioproperties.h @@ -59,7 +59,7 @@ namespace TagLib { virtual ~AudioProperties(); /*! - * Returns the lenght of the file in seconds. + * Returns the length of the file in seconds. */ virtual int length() const = 0; diff --git a/taglib/fileref.h b/taglib/fileref.h index 5044c004..8cc41cd9 100644 --- a/taglib/fileref.h +++ b/taglib/fileref.h @@ -90,7 +90,7 @@ namespace TagLib { public: virtual ~FileTypeResolver() {} /*! - * This method must be overriden to provide an additional file type + * This method must be overridden to provide an additional file type * resolver. If the resolver is able to determine the file type it should * return a valid File object; if not it should return 0. * diff --git a/taglib/flac/flacfile.cpp b/taglib/flac/flacfile.cpp index 13f5e15e..ed8d6d54 100644 --- a/taglib/flac/flacfile.cpp +++ b/taglib/flac/flacfile.cpp @@ -150,7 +150,7 @@ bool FLAC::File::save() // A Xiph comment portion of the data stream starts with a 4-byte descriptor. // The first byte indicates the frame type. The last three bytes are used - // to give the lenght of the data segment. Here we start + // to give the length of the data segment. Here we start ByteVector data = ByteVector::fromUInt(d->xiphCommentData.size()); diff --git a/taglib/mpeg/id3v2/frames/relativevolumeframe.h b/taglib/mpeg/id3v2/frames/relativevolumeframe.h index 981ea2e8..462f2108 100644 --- a/taglib/mpeg/id3v2/frames/relativevolumeframe.h +++ b/taglib/mpeg/id3v2/frames/relativevolumeframe.h @@ -33,7 +33,7 @@ namespace TagLib { /*! * This is an implementation of ID3v2 relative volume adjustment. The - * presense of this frame makes it possible to specify an increase in volume + * presence of this frame makes it possible to specify an increase in volume * for an audio file or specific audio tracks in that file. * * Multiple relative volume adjustment frames may be present in the tag diff --git a/taglib/mpeg/id3v2/frames/textidentificationframe.h b/taglib/mpeg/id3v2/frames/textidentificationframe.h index 48b5bd55..051575f4 100644 --- a/taglib/mpeg/id3v2/frames/textidentificationframe.h +++ b/taglib/mpeg/id3v2/frames/textidentificationframe.h @@ -212,7 +212,7 @@ namespace TagLib { /*! * Sets the description of the frame to \a s. \a s must be unique. You can - * check for the presense of another user defined text frame of the same type + * check for the presence of another user defined text frame of the same type * using find() and testing for null. */ void setDescription(const String &s); diff --git a/taglib/mpeg/id3v2/id3v2frame.h b/taglib/mpeg/id3v2/id3v2frame.h index 7d9bffcc..38cecf58 100644 --- a/taglib/mpeg/id3v2/id3v2frame.h +++ b/taglib/mpeg/id3v2/id3v2frame.h @@ -261,7 +261,7 @@ namespace TagLib { /*! * Returns the size of the frame data portion, as set when setData() was - * called or set explicity via setFrameSize(). + * called or set explicitly via setFrameSize(). */ uint frameSize() const; @@ -361,7 +361,7 @@ namespace TagLib { bool unsycronisation() const; /*! - * Returns true if the flag for a data lenght indicator is set. + * Returns true if the flag for a data length indicator is set. */ bool dataLengthIndicator() const; diff --git a/taglib/mpeg/xingheader.h b/taglib/mpeg/xingheader.h index a5c22ba6..00e83918 100644 --- a/taglib/mpeg/xingheader.h +++ b/taglib/mpeg/xingheader.h @@ -57,7 +57,7 @@ namespace TagLib { virtual ~XingHeader(); /*! - * Returns true if the data was parsed properly and if there is a vaild + * Returns true if the data was parsed properly and if there is a valid * Xing header present. */ bool isValid() const; diff --git a/taglib/ogg/oggpageheader.cpp b/taglib/ogg/oggpageheader.cpp index 7da708a8..0769c280 100644 --- a/taglib/ogg/oggpageheader.cpp +++ b/taglib/ogg/oggpageheader.cpp @@ -255,7 +255,7 @@ void Ogg::PageHeader::read() // Byte number 27 is the number of page segments, which is the only variable // length portion of the page header. After reading the number of page - // segments we'll then read in the coresponding data for this count. + // segments we'll then read in the corresponding data for this count. int pageSegmentCount = uchar(data[26]); diff --git a/taglib/ogg/xiphcomment.cpp b/taglib/ogg/xiphcomment.cpp index 465817e7..8986943e 100644 --- a/taglib/ogg/xiphcomment.cpp +++ b/taglib/ogg/xiphcomment.cpp @@ -222,7 +222,7 @@ ByteVector Ogg::XiphComment::render(bool addFramingBit) const ByteVector data; // Add the vendor ID length and the vendor ID. It's important to use the - // lenght of the data(String::UTF8) rather than the lenght of the the string + // length of the data(String::UTF8) rather than the length of the the string // since this is UTF8 text and there may be more characters in the data than // in the UTF16 string. diff --git a/taglib/tag.h b/taglib/tag.h index 44fba4ce..ae081af0 100644 --- a/taglib/tag.h +++ b/taglib/tag.h @@ -32,7 +32,7 @@ namespace TagLib { * This is an attempt to abstract away the difference in the meta data formats * of various audio codecs and tagging schemes. As such it is generally a * subset of what is available in the specific formats but should be suitable - * for most applications. This is meant to complient the generic APIs found + * for most applications. This is meant to compliment the generic APIs found * in TagLib::AudioProperties, TagLib::File and TagLib::FileRef. */ diff --git a/taglib/toolkit/tlist.h b/taglib/toolkit/tlist.h index 6c34d19b..b3c597f7 100644 --- a/taglib/toolkit/tlist.h +++ b/taglib/toolkit/tlist.h @@ -147,12 +147,12 @@ namespace TagLib { bool isEmpty() const; /*! - * Find the first occurance of \a value. + * Find the first occurrence of \a value. */ Iterator find(const T &value); /*! - * Find the first occurance of \a value. + * Find the first occurrence of \a value. */ ConstIterator find(const T &value) const; diff --git a/taglib/toolkit/tmap.h b/taglib/toolkit/tmap.h index 9daf979c..620c2983 100644 --- a/taglib/toolkit/tmap.h +++ b/taglib/toolkit/tmap.h @@ -112,12 +112,12 @@ namespace TagLib { bool isEmpty() const; /*! - * Find the first occurance of \a key. + * Find the first occurrence of \a key. */ Iterator find(const Key &key); /*! - * Find the first occurance of \a key. + * Find the first occurrence of \a key. */ ConstIterator find(const Key &key) const; diff --git a/taglib/toolkit/tstring.cpp b/taglib/toolkit/tstring.cpp index 62480661..e0c12ab9 100644 --- a/taglib/toolkit/tstring.cpp +++ b/taglib/toolkit/tstring.cpp @@ -444,7 +444,7 @@ String String::stripWhiteSpace() const if(begin == end) return null; - // There must be at least one non-whitespace charater here for us to have + // There must be at least one non-whitespace character here for us to have // gotten this far, so we should be safe not doing bounds checking. do { diff --git a/taglib/toolkit/tstring.h b/taglib/toolkit/tstring.h index d3649868..5bd8a9a0 100644 --- a/taglib/toolkit/tstring.h +++ b/taglib/toolkit/tstring.h @@ -214,7 +214,7 @@ namespace TagLib { ConstIterator end() const; /*! - * Finds the first occurance of pattern \a s in this string starting from + * Finds the first occurrence of pattern \a s in this string starting from * \a offset. If the pattern is not found, -1 is returned. */ int find(const String &s, int offset = 0) const; diff --git a/taglib/toolkit/unicode.h b/taglib/toolkit/unicode.h index 45d726b2..cf7eb3c5 100644 --- a/taglib/toolkit/unicode.h +++ b/taglib/toolkit/unicode.h @@ -43,7 +43,7 @@ Conversions between UTF32, UTF-16, and UTF-8. Header file. - Several funtions are included here, forming a complete set of + Several functions are included here, forming a complete set of conversions between the three formats. UTF-7 is not included here, but is handled in a separate source file.