]> granicus.if.org Git - taglib/commitdiff
A few spelling fixes, identified using krazy.
authorBrad Hards <bradh@frogmouth.net>
Tue, 2 Jan 2007 11:54:03 +0000 (11:54 +0000)
committerBrad Hards <bradh@frogmouth.net>
Tue, 2 Jan 2007 11:54:03 +0000 (11:54 +0000)
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@618883 283d02a7-25f6-0310-bc7c-ecb5cbfe19da

16 files changed:
bindings/c/tag_c.h
taglib/audioproperties.h
taglib/fileref.h
taglib/flac/flacfile.cpp
taglib/mpeg/id3v2/frames/relativevolumeframe.h
taglib/mpeg/id3v2/frames/textidentificationframe.h
taglib/mpeg/id3v2/id3v2frame.h
taglib/mpeg/xingheader.h
taglib/ogg/oggpageheader.cpp
taglib/ogg/xiphcomment.cpp
taglib/tag.h
taglib/toolkit/tlist.h
taglib/toolkit/tmap.h
taglib/toolkit/tstring.cpp
taglib/toolkit/tstring.h
taglib/toolkit/unicode.h

index 6f09393c13460d859cc3e989199ee98f76a45704..07dce46b1c6bff1c80429e0859a0f57ca8d54d65 100644 (file)
@@ -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);
 
index 4584b8693f3bf4ab63cc3ccace5e9b5df334df82..23c69617910820c63ec8621fed9c649d350c763a 100644 (file)
@@ -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;
 
index 5044c004d8f6d186ed2923a9082df704024f0cef..8cc41cd9c8e97840f56eb889c37327d841d651e7 100644 (file)
@@ -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.
        *
index 13f5e15eefddac935e942aaaf64f2eb15c70028e..ed8d6d544cfc29f912964ddb822552bdcb5ba3d8 100644 (file)
@@ -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());
 
index 981ea2e8a3cdf7d413715842fca62ce03cf02a64..462f210812eef0769bba94ab2e55e1c1c4e453eb 100644 (file)
@@ -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
index 48b5bd55d0fa8b3d9f4633948ea4587f58d56527..051575f4f085414d161720952a9bca09fdc9f424 100644 (file)
@@ -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);
index 7d9bffcc1c4d617514f758aa0751743a2969dbda..38cecf589413c54fbb06680b072b595590c05d9d 100644 (file)
@@ -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;
 
index a5c22ba602667c1a3c51e495fac3ff9c82c485a0..00e83918f33b3bed08e5fc03c34c42cf09a3c43e 100644 (file)
@@ -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;
index 7da708a8b681d95e70b71746872dfe99ac5e76d1..0769c28009c7b09c1d0275e4b57308440d3e119e 100644 (file)
@@ -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]);
 
index 465817e7daeeda03fc00e9a5f72753600816d862..8986943eb154ed0045fc3a35e92bb87aaabd1141 100644 (file)
@@ -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.
 
index 44fba4ced3f9bf3bda981faf97b74a7988dbf62c..ae081af0c3fa0af55df0cd9856a713b777251d8f 100644 (file)
@@ -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.
    */
 
index 6c34d19babdb44dc287431cdfa10a4baf03eabeb..b3c597f7a4737a9dd24a43c41e07b2b598859f21 100644 (file)
@@ -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;
 
index 9daf979c882824f89cc8ee2e7394a0f43e52e6ca..620c2983c5b0a5ad5446840257517c10e3b29cee 100644 (file)
@@ -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;
 
index 62480661992dbeed5efe3e8a3025e8f0a70c6399..e0c12ab9ec7a24dd3c056f6f0e3c1e28cead9ad3 100644 (file)
@@ -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 {
index d36498685c629eb0e881b9290ccf273bdeedc521..5bd8a9a0295cd7bce2c16846380a00caf16271b7 100644 (file)
@@ -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;
index 45d726b28f06ec7c472bf747dbad437ab55b8b77..cf7eb3c56944fc3cfc2e6acaa570c1cf6d65f904 100644 (file)
@@ -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.