From kde-core-devel Tue Aug 29 17:06:07 2000 From: Don Sanders Date: Tue, 29 Aug 2000 17:06:07 +0000 To: kde-core-devel Subject: Re: Kmail and signatures X-MARC-Message: https://marc.info/?l=kde-core-devel&m=96756854226282 > It looks like I found the bug : > in kmcomposewin.cpp : > On line 2129 you have : > edtText.append( ident.signature() + "\n" ); > > And this is a source of the problem, you are adding useless character. > So the fix is ( notice the 5 instead of 6 on the next line ) : > 2123 : if (((pos >= 0) && (pos + mOldSigText.length() + 5 == > edtText.length())) || > 2129 : edtText.append( ident.signature() ); Verified (well it didn't break anything here) and applied. I wonder if the other (text not being displayed) problem only occurs when you use a signature? Maybe some kind of repaint after inserting signature text is required. BFN, Don.