From 674df40a22133a8d7c04ad81fd9beb8faff3ec71 Mon Sep 17 00:00:00 2001
From: Angie Byron <webchick@24967.no-reply.drupal.org>
Date: Tue, 28 Dec 2010 18:21:58 +0000
Subject: [PATCH] #1007486 by mlncn: Fixed Documentation problem with
 truncate_utf8: refers to max_return_length instead of max_length

---
 includes/unicode.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/includes/unicode.inc b/includes/unicode.inc
index 33660fd6c637..812a2f174a76 100644
--- a/includes/unicode.inc
+++ b/includes/unicode.inc
@@ -288,12 +288,12 @@ function drupal_truncate_bytes($string, $len) {
  *   If TRUE, attempt to truncate on a word boundary. Word boundaries are
  *   spaces, punctuation, and Unicode characters used as word boundaries in
  *   non-Latin languages; see PREG_CLASS_UNICODE_WORD_BOUNDARY for more
- *   information.  If a word boundary cannot be found that would make the length
+ *   information. If a word boundary cannot be found that would make the length
  *   of the returned string fall within length guidelines (see parameters
- *   $max_return_length and $min_wordsafe_length), word boundaries are ignored.
+ *   $max_length and $min_wordsafe_length), word boundaries are ignored.
  * @param $add_ellipsis
  *   If TRUE, add t('...') to the end of the truncated string (defaults to
- *   FALSE). The string length will still fall within $max_return_length.
+ *   FALSE). The string length will still fall within $max_length.
  * @param $min_wordsafe_length
  *   If $wordsafe is TRUE, the minimum acceptable length for truncation (before
  *   adding an ellipsis, if $add_ellipsis is TRUE). Has no effect if $wordsafe
-- 
GitLab