From 28e4473a6bb8f60a6ee55ce2ba0096ad611bc46b Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 26 Feb 2014 19:47:55 +0000 Subject: [PATCH] Fixed some typos. --- modules/juce_audio_basics/sources/juce_AudioSource.h | 2 +- .../juce_audio_processors/processors/juce_PluginDescription.h | 2 +- modules/juce_core/containers/juce_NamedValueSet.h | 4 ++-- modules/juce_core/juce_core.h | 2 +- modules/juce_core/streams/juce_OutputStream.h | 2 +- modules/juce_gui_basics/components/juce_Component.h | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/juce_audio_basics/sources/juce_AudioSource.h b/modules/juce_audio_basics/sources/juce_AudioSource.h index e50b2acb62..cfbd59fe98 100644 --- a/modules/juce_audio_basics/sources/juce_AudioSource.h +++ b/modules/juce_audio_basics/sources/juce_AudioSource.h @@ -65,7 +65,7 @@ struct JUCE_API AudioSourceChannelInfo Only the samples specified by the startSample and numSamples members of this structure should be affected by the call. - The contents of the buffer when it is passed to the the AudioSource::getNextAudioBlock() + The contents of the buffer when it is passed to the AudioSource::getNextAudioBlock() method can be treated as the input if the source is performing some kind of filter operation, but should be cleared if this is not the case - the clearActiveBufferRegion() is a handy way of doing this. diff --git a/modules/juce_audio_processors/processors/juce_PluginDescription.h b/modules/juce_audio_processors/processors/juce_PluginDescription.h index 2d1c9efd1d..6361775d44 100644 --- a/modules/juce_audio_processors/processors/juce_PluginDescription.h +++ b/modules/juce_audio_processors/processors/juce_PluginDescription.h @@ -102,7 +102,7 @@ public: /** True if the plug-in is part of a multi-type container, e.g. a VST Shell. */ bool hasSharedContainer; - /** Returns true if the two descriptions refer the the same plug-in. + /** Returns true if the two descriptions refer to the same plug-in. This isn't quite as simple as them just having the same file (because of shell plug-ins). diff --git a/modules/juce_core/containers/juce_NamedValueSet.h b/modules/juce_core/containers/juce_NamedValueSet.h index 6043e2ab98..1ecc7948e9 100644 --- a/modules/juce_core/containers/juce_NamedValueSet.h +++ b/modules/juce_core/containers/juce_NamedValueSet.h @@ -76,14 +76,14 @@ public: /** Changes or adds a named value. @returns true if a value was changed or added; false if the - value was already set the the value passed-in. + value was already set the value passed-in. */ bool set (Identifier name, const var& newValue); #if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS /** Changes or adds a named value. @returns true if a value was changed or added; false if the - value was already set the the value passed-in. + value was already set the value passed-in. */ bool set (Identifier name, var&& newValue); #endif diff --git a/modules/juce_core/juce_core.h b/modules/juce_core/juce_core.h index 953c6adbae..557c529e06 100644 --- a/modules/juce_core/juce_core.h +++ b/modules/juce_core/juce_core.h @@ -64,7 +64,7 @@ //============================================================================= /** Config: JUCE_LOG_ASSERTIONS - If this flag is enabled, the the jassert and jassertfalse macros will always use Logger::writeToLog() + If this flag is enabled, the jassert and jassertfalse macros will always use Logger::writeToLog() to write a message when an assertion happens. Enabling it will also leave this turned on in release builds. When it's disabled, diff --git a/modules/juce_core/streams/juce_OutputStream.h b/modules/juce_core/streams/juce_OutputStream.h index ead633b5a4..de40888fd5 100644 --- a/modules/juce_core/streams/juce_OutputStream.h +++ b/modules/juce_core/streams/juce_OutputStream.h @@ -226,7 +226,7 @@ public: //============================================================================== /** Sets the string that will be written to the stream when the writeNewLine() method is called. - By default this will be set the the value of NewLine::getDefault(). + By default this will be set the value of NewLine::getDefault(). */ void setNewLineString (const String& newLineString); diff --git a/modules/juce_gui_basics/components/juce_Component.h b/modules/juce_gui_basics/components/juce_Component.h index 00ef6ec8b8..1bc092e0c7 100644 --- a/modules/juce_gui_basics/components/juce_Component.h +++ b/modules/juce_gui_basics/components/juce_Component.h @@ -326,12 +326,12 @@ public: void getVisibleArea (RectangleList& result, bool includeSiblings) const; //============================================================================== - /** Returns this component's x coordinate relative the the screen's top-left origin. + /** Returns this component's x coordinate relative the screen's top-left origin. @see getX, localPointToGlobal */ int getScreenX() const; - /** Returns this component's y coordinate relative the the screen's top-left origin. + /** Returns this component's y coordinate relative the screen's top-left origin. @see getY, localPointToGlobal */ int getScreenY() const;