Re: Crash in mccolorer when choosing old syntax highlighting
- From: Leonard den Ottolander <leonard den ottolander nl>
- To: Igor Russkih <irusskih gmail com>
- Cc: MC development <mc-devel gnome org>
- Subject: Re: Crash in mccolorer when choosing old syntax highlighting
- Date: Tue, 27 Jun 2006 16:39:26 +0200
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;
> +
> #if USE_COLORER
> 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.
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]