diff options
Diffstat (limited to 'libs/emojicon/src/github/ankushsachdeva/emojicon/EmojiconHandler.java')
-rw-r--r-- | libs/emojicon/src/github/ankushsachdeva/emojicon/EmojiconHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/emojicon/src/github/ankushsachdeva/emojicon/EmojiconHandler.java b/libs/emojicon/src/github/ankushsachdeva/emojicon/EmojiconHandler.java index bc7a228c0..84f087d86 100644 --- a/libs/emojicon/src/github/ankushsachdeva/emojicon/EmojiconHandler.java +++ b/libs/emojicon/src/github/ankushsachdeva/emojicon/EmojiconHandler.java @@ -1396,7 +1396,7 @@ public final class EmojiconHandler { public static void addEmojis(Context context, Spannable text, int emojiSize, int index, int length) { int textLength = text.length(); int textLengthToProcessMax = textLength - index; - int textLengthToProcess = length < 0 || length >= textLengthToProcessMax ? textLength : (length+index); + int textLengthToProcess = length < 0 || length >= textLengthToProcessMax ? textLength : (length + index); // remove spans throughout all text EmojiconSpan[] oldSpans = text.getSpans(0, textLength, EmojiconSpan.class); |