Fix emoji displaying extraneous characters (#219)

Fixes #192.
This commit is contained in:
oldmud0 2020-07-30 16:17:06 -05:00 committed by GitHub
parent a82c2d4fc1
commit 906a600a64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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); p_text_escaped.insert(check_pos_escaped, f_character);
check_pos_escaped += f_char_length; check_pos_escaped += f_char_length;
} }
check_pos += 1; check_pos += f_char_length;
} }
if (!ic_color_stack.empty() && html) { if (!ic_color_stack.empty() && html) {