SOURCES: kdenetwork-bug-146380.patch (NEW) - fix extra newlines ap...

glen glen at pld-linux.org
Mon Sep 3 15:23:05 CEST 2007


Author: glen                         Date: Mon Sep  3 13:23:05 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix extra newlines appearing in kopete/jabber

---- Files affected:
SOURCES:
   kdenetwork-bug-146380.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/kdenetwork-bug-146380.patch
diff -u /dev/null SOURCES/kdenetwork-bug-146380.patch:1.1
--- /dev/null	Mon Sep  3 15:23:05 2007
+++ SOURCES/kdenetwork-bug-146380.patch	Mon Sep  3 15:23:00 2007
@@ -0,0 +1,12 @@
+--- branches/KDE/3.5/kdenetwork/kopete/protocols/oscar/aim/aimcontact.cpp	2007/06/08 19:44:15	673026
++++ branches/KDE/3.5/kdenetwork/kopete/protocols/oscar/aim/aimcontact.cpp	2007/06/08 19:44:48	673027
+@@ -440,6 +440,9 @@
+ 
+ 	s.replace ( QRegExp ( QString::fromLatin1("<br[ /]*>")), QString::fromLatin1("<br>") );
+ 
++	// strip left over line break
++	s.remove( QRegExp( QString::fromLatin1( "<br>$" ) ) );
++
+ 	kdDebug(14190) << k_funcinfo << "sending "
+ 		<< s << endl;
+ 
================================================================


More information about the pld-cvs-commit mailing list