summary refs log tree commit diff stats
path: root/src/common/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/text.c')
-rw-r--r--src/common/text.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/common/text.c b/src/common/text.c
index 64102908..93392d1a 100644
--- a/src/common/text.c
+++ b/src/common/text.c
@@ -374,14 +374,11 @@ scrollback_load (session *sess)
 			if (text)
 			{
 				text = strip_color (text + 1, -1, STRIP_COLOR);
-				if (prefs.text_nonbmp)
+				cleaned_text = text_replace_non_bmp (text, -1, &cleaned_len);
+				if (cleaned_text != NULL)
 				{
-					cleaned_text = text_replace_non_bmp (text, -1, &cleaned_len);
-					if (cleaned_text != NULL)
-					{
-						g_free (text);
-						text = cleaned_text;
-					}
+					g_free (text);
+					text = cleaned_text;
 				}
 				fe_print_text (sess, text, stamp);
 				g_free (text);