From 1c90d82aac02743a6c2cc2244eb0c2ee401635b1 Mon Sep 17 00:00:00 2001 From: jules Date: Thu, 24 Jan 2013 11:24:27 +0000 Subject: [PATCH] Spelling fix. --- modules/juce_core/text/juce_String.h | 8 ++++---- .../commands/juce_ApplicationCommandManager.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/juce_core/text/juce_String.h b/modules/juce_core/text/juce_String.h index 578e7e536e..85bc8c22f8 100644 --- a/modules/juce_core/text/juce_String.h +++ b/modules/juce_core/text/juce_String.h @@ -393,7 +393,7 @@ public: */ bool containsIgnoreCase (const String& text) const noexcept; - /** Tests whether the string contains another substring as a distict word. + /** Tests whether the string contains another substring as a distinct word. @returns true if the string contains this word, surrounded by non-alphanumeric characters @@ -401,7 +401,7 @@ public: */ bool containsWholeWord (const String& wordToLookFor) const noexcept; - /** Tests whether the string contains another substring as a distict word. + /** Tests whether the string contains another substring as a distinct word. @returns true if the string contains this word, surrounded by non-alphanumeric characters @@ -409,7 +409,7 @@ public: */ bool containsWholeWordIgnoreCase (const String& wordToLookFor) const noexcept; - /** Finds an instance of another substring if it exists as a distict word. + /** Finds an instance of another substring if it exists as a distinct word. @returns if the string contains this word, surrounded by non-alphanumeric characters, then this will return the index of the start of the substring. If it isn't @@ -418,7 +418,7 @@ public: */ int indexOfWholeWord (const String& wordToLookFor) const noexcept; - /** Finds an instance of another substring if it exists as a distict word. + /** Finds an instance of another substring if it exists as a distinct word. @returns if the string contains this word, surrounded by non-alphanumeric characters, then this will return the index of the start of the substring. If it isn't diff --git a/modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h b/modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h index c3e2951ebb..268744cecf 100644 --- a/modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h +++ b/modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h @@ -182,7 +182,7 @@ public: /** Returns the list of categories. - This will go through all registered commands, and return a list of all the distict + This will go through all registered commands, and return a list of all the distinct categoryName values from their ApplicationCommandInfo structure. @see getCommandsInCategory()