summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/unicode.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/unicode.inc b/includes/unicode.inc
index 33660fd6c..812a2f174 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