Re: Bug#328921: mutt/1503: problems with utf-8 terminals
On 2007-03-14 02:08:24 +0900, TAKIZAWA Takashi wrote:
> @@ -223,7 +223,7 @@ static void format_line (FILE *f, int is
> SKIPWS(t3);
>
> /* FIXME: this is completely wrong */
> - if ((n = mutt_strlen (t3)) > COLS - col)
> + if ((n = mutt_strwidth (t3)) > COLS - col)
> {
> n = COLS - col;
> for (col_a = n; col_a > 0 && t3[col_a] != ' '; col_a--) ;
Is the FIXME comment still valid?
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)