aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2020-07-30 16:17:06 -0500
committerGitHub <noreply@github.com>2020-07-30 16:17:06 -0500
commit906a600a6433531010e6e6493ebaf786823edb8c (patch)
tree0959e34f338daf7df89ed0f9acbf87286751e69e
parenta82c2d4fc1dc77416e3cd787ca5341885a5ab6c9 (diff)
Fix emoji displaying extraneous characters (#219)
Fixes #192.
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index f16d9a92..bb2177ee 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -2541,7 +2541,7 @@ QString Courtroom::filter_ic_text(QString p_text, bool html, int target_pos,
p_text_escaped.insert(check_pos_escaped, f_character);
check_pos_escaped += f_char_length;
}
- check_pos += 1;
+ check_pos += f_char_length;
}
if (!ic_color_stack.empty() && html) {