Re: small bug in cons.handler.c



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






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