diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2020-07-30 16:17:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-30 16:17:06 -0500 |
| commit | 906a600a6433531010e6e6493ebaf786823edb8c (patch) | |
| tree | 0959e34f338daf7df89ed0f9acbf87286751e69e | |
| parent | a82c2d4fc1dc77416e3cd787ca5341885a5ab6c9 (diff) | |
Fix emoji displaying extraneous characters (#219)
Fixes #192.
| -rw-r--r-- | src/courtroom.cpp | 2 |
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) { |
