Re: Crash in mccolorer when choosing old syntax highlighting

Hello Igor,

On Tue, 2006-06-27 at 18:08 +0400, Igor Russkih wrote:
> For me Pavel's patch fixes the problem.
> However Pavel diff-ed it with original mc source I believe because
> this it can fail to apply.

> +    if (!edit)
> +       return;
> +
>     colorer_free_syntax_rules(edit);
>     return;
>  #endif

After applying Pavel's patch the if (!edit) ended up *after the (first)
#if USE_COLORER. Bringing it to the front indeed fixes this crash.

Thanks you both.


mount -t life -o ro /dev/dna /genetic/research

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]