small bug in cons.handler.c
Dmitry Alexeyev
dmi_a at qnx.org.ru
Sat Mar 22 17:04:40 UTC 2003
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]);
}
#define cursor_to(x, y) do { \
WBR,
Dmitry
More information about the mc-devel
mailing list