<<< Date Index >>>     <<< Thread Index >>>

Re: Crashes with the "indent" patch on Mutt v1.5.17



Hi Jose,

That was it!  Thank you very much for your quick and spot on reply :)

-- 
Mun


On Fri, Jan 04, 2008 at 01:06 PM PST, Jose Celestino wrote:

... Text Deleted ...

JC> 
JC> A quick look at the code shows that col is also missing from
JC> indent_format_str as it was added to format_t. That may be causing the 
crashe??.
JC> Add it there and see how it goes:
JC> 
JC> --- copy_old.c  2008-01-04 21:04:08.000000000 +0000
JC> +++ copy.c      2008-01-04 21:03:19.000000000 +0000
JC> @@ -511,7 +511,7 @@
JC>  }
JC> 
JC>  static const char *
JC> -indent_format_str (char *dest, size_t destlen, char op, const char *src,
JC> +indent_format_str (char *dest, size_t destlen, size_t col, char op, const 
char *src,
JC>                    const char *fmt, const char *ifstring, const char 
*elsestring,
JC>                    unsigned long data, format_flag flags)
JC>  {
JC> 
JC> Best regards.
JC> 
JC> -- 
JC> Jose Celestino