Re: Bug#294802: tin: line-wrap in German filter menu

Urs Janßen <[email protected]>
Newsgroups gmane.network.tin.devel
Message-ID <[email protected]>
On Fri, Feb 11, 2005 at 07:02:50PM +0100, Christian Garbs wrote:
> In the German filter menu (scoring for articles) the item
> "Wähle Msg-Id" has four values:
> 
>  * Nur
>  * Nein
>  * Voll
>  * Letzte
> 
> "Letzte" is too long and always wrapped around to the next line,
> regardless of screen width.  It looks to me like 5 characters are
> reserved for the option but 6 are needed.

quick and dirty fix: in filter.c:filter_menu() increase len by 3
(estonian values are even longer), e.g.:
        len = cCOLS - 33;
instead of
        len = cCOLS - 30;

right thing would be some dynamic space calculation depening on the
length of the longest translated value...

urs
-- 
"Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.