summary refs log tree commit diff stats
path: root/src/common/text.c
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-01-20 01:47:01 +0100
committerBerke Viktor <berkeviktor@aol.com>2012-01-20 01:47:01 +0100
commit3563acdb0d87d88733c967f8ac920877b8b4a1eb (patch)
treef24527d0410ba71994f87df0ad6147c82ce662f1 /src/common/text.c
parentc37c719210c88f5831408e4245d1df70d75de8bc (diff)
Revert "allow for disabling the filtering mechanism"
This reverts commit c1ec6d1039317342ed339f2ca1b52e2f4f3b07d3.
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);