small bug in cons.handler.c

Andrew V. Samoilov sav at bcs.zp.ua
Sat Mar 22 17:28:56 UTC 2003


Dmitry Alexeyev wrote:
> Hello!
> 
> There's a small bug in cons.handler.c in FreeBSD part.
> 
> Here's fix:
> diff -dru mc.orig/src/cons.handler.c mc/src/cons.handler.c
> --- mc.orig/src/cons.handler.c  Mon Mar 10 22:41:55 2003
> +++ mc/src/cons.handler.c   Sat Mar 22 19:53:11 2003
> @@ -423,7 +423,7 @@
>      bc = (attr >> 4) & 0xF;
>  
>      printf ("\x1B[%d;%d;3%d;4%dm", (bc & 8) ? 5 : 25, (tc & 8) ? 1 : 22,
> -       color_map[tc & 7], color_map[bc & 7]
> +       color_map[tc & 7], color_map[bc & 7]);
>  }

Applied, thanks!


-- 
Regards,
Andrew V. Samoilov






More information about the mc-devel mailing list