From 1faa305dccc12caeb3579a87f614ac1e3d879593 Mon Sep 17 00:00:00 2001 From: Scott Wheeler Date: Wed, 18 Jul 2007 12:48:24 +0000 Subject: [PATCH] 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 --- taglib/mpeg/id3v2/id3v2frame.cpp | 13 +++++++++---- taglib/mpeg/id3v2/id3v2frame.h | 8 +++++--- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/taglib/mpeg/id3v2/id3v2frame.cpp b/taglib/mpeg/id3v2/id3v2frame.cpp index 1b1d62ec..629f4d9b 100644 --- a/taglib/mpeg/id3v2/id3v2frame.cpp +++ b/taglib/mpeg/id3v2/id3v2frame.cpp @@ -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 diff --git a/taglib/mpeg/id3v2/id3v2frame.h b/taglib/mpeg/id3v2/id3v2frame.h index 38cecf58..892aa126 100644 --- a/taglib/mpeg/id3v2/id3v2frame.h +++ b/taglib/mpeg/id3v2/id3v2frame.h @@ -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.