diff options
Diffstat (limited to 'src/common/text.c')
-rw-r--r-- | src/common/text.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/text.c b/src/common/text.c index 246d8e8e..f8f08767 100644 --- a/src/common/text.c +++ b/src/common/text.c @@ -386,7 +386,10 @@ scrollback_load (session *sess) cleaned_text = text_replace_non_bmp (text, -1, &cleaned_len); if (cleaned_text != NULL) { - g_free (text); + if (prefs.text_replay_strip_color) + { + g_free (text); + } text = cleaned_text; } fe_print_text (sess, text, stamp); |