diff --git a/modules/juce_core/text/juce_String.h b/modules/juce_core/text/juce_String.h index 8fb209adb6..70a39a874a 100644 --- a/modules/juce_core/text/juce_String.h +++ b/modules/juce_core/text/juce_String.h @@ -89,12 +89,12 @@ public: */ String (const char* text, size_t maxChars); - /** Creates a string from a whcar_t character string. + /** Creates a string from a wchar_t character string. Depending on the platform, this may be treated as either UTF-32 or UTF-16. */ String (const wchar_t* text); - /** Creates a string from a whcar_t character string. + /** Creates a string from a wchar_t character string. Depending on the platform, this may be treated as either UTF-32 or UTF-16. */ String (const wchar_t* text, size_t maxChars);