From cb77241d2080e1b459a70bddb017d2b6f030d721 Mon Sep 17 00:00:00 2001 From: jules Date: Sat, 5 May 2012 11:09:57 +0100 Subject: [PATCH] Fixed some documentation typos. --- modules/juce_core/text/juce_String.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_core/text/juce_String.h b/modules/juce_core/text/juce_String.h index 032fb4ee56..904054c8a1 100644 --- a/modules/juce_core/text/juce_String.h +++ b/modules/juce_core/text/juce_String.h @@ -1049,7 +1049,7 @@ public: */ CharPointer_UTF8 toUTF8() const; - /** Returns a pointer to a UTF-32 version of this string. + /** Returns a pointer to a UTF-16 version of this string. Because it returns a reference to the string's internal data, the pointer that is returned must not be stored anywhere, as it can be deleted whenever the @@ -1133,7 +1133,7 @@ public: */ int copyToUTF16 (CharPointer_UTF16::CharType* destBuffer, int maxBufferSizeBytes) const noexcept; - /** Copies the string to a buffer as UTF-16 characters. + /** Copies the string to a buffer as UTF-32 characters. Returns the number of bytes copied to the buffer, including the terminating null character.