[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Kmail and signatures
From:       Don Sanders <sanders () kde ! org>
Date:       2000-08-29 17:06:07
[Download RAW message or body]

> 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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic