Spelling fixes (first part of a patch from Lucas Lalinsky)

CCBUG:138829


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@689506 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Scott Wheeler 2007-07-18 12:48:24 +00:00
parent 711132c89f
commit 1faa305dcc
2 changed files with 14 additions and 7 deletions

View File

@ -200,7 +200,7 @@ public:
groupingIdentity(false),
compression(false),
encryption(false),
unsyncronisation(false),
unsynchronisation(false),
dataLengthIndicator(false)
{}
@ -216,7 +216,7 @@ public:
bool groupingIdentity;
bool compression;
bool encryption;
bool unsyncronisation;
bool unsynchronisation;
bool dataLengthIndicator;
};
@ -381,7 +381,7 @@ void Frame::Header::setData(const ByteVector &data, uint version)
d->groupingIdentity = flags[6]; // (structure 4.1.2.h)
d->compression = flags[3]; // (structure 4.1.2.k)
d->encryption = flags[2]; // (structure 4.1.2.m)
d->unsyncronisation = flags[1]; // (structure 4.1.2.n)
d->unsynchronisation = flags[1]; // (structure 4.1.2.n)
d->dataLengthIndicator = flags[0]; // (structure 4.1.2.p)
}
break;
@ -451,7 +451,12 @@ bool Frame::Header::encryption() const
bool Frame::Header::unsycronisation() const
{
return d->unsyncronisation;
return unsynchronisation();
}
bool Frame::Header::unsynchronisation() const
{
return d->unsynchronisation;
}
bool Frame::Header::dataLengthIndicator() const

View File

@ -353,12 +353,14 @@ namespace TagLib {
*/
bool encryption() const;
#ifndef DO_NOT_DOCUMENT
bool unsycronisation() const;
#endif
/*!
* Returns true if unsyncronisation is enabled for this frame.
*
* \note This flag is currently ignored internally in TagLib.
*/
bool unsycronisation() const;
bool unsynchronisation() const;
/*!
* Returns true if the flag for a data length indicator is set.