diff mcabber/src/screen.c @ 1122:648fe6f715a6

Filter out ^M (0x0d) characters in incoming messages This fixes a bug with some centericq versions, reported by Frank Zschockelt.
author Mikael Berthe <mikael@lilotux.net>
date Sat, 13 Jan 2007 14:27:54 +0100
parents 922a9ae1a17e
children fddf2fef7b83
line wrap: on
line diff
--- a/mcabber/src/screen.c	Wed Jan 10 21:34:18 2007 +0100
+++ b/mcabber/src/screen.c	Sat Jan 13 14:27:54 2007 +0100
@@ -1353,9 +1353,7 @@
 
   if (!timestamp) timestamp = time(NULL);
 
-  xtext = ut_expand_tabs(text); // Expand tabs
-
-  // XXX Are there other special chars we should filter out?
+  xtext = ut_expand_tabs(text); // Expand tabs and filter out some chars
 
   scr_WriteInWindow(bjid, xtext, timestamp, prefix_flags, FALSE);