From 8384e94b0b9a8c2456f0adeafc49eee51dd5b86c Mon Sep 17 00:00:00 2001 From: "Andrew V. Samoilov" Date: Sat, 22 Mar 2003 17:27:21 +0000 Subject: [PATCH] * cons.handler.c (set_attr) [__FreeBSD__]: Fix compilation. Reported by Dmitry Alexeyev . --- src/ChangeLog | 5 +++++ src/cons.handler.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index b224419d2..2dc4ae552 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-03-22 Andrew V. Samoilov + + * cons.handler.c (set_attr) [__FreeBSD__]: Fix compilation. + Reported by Dmitry Alexeyev . + 2003-03-22 Adam Byrtek * command.c (enter): Check subshell state early and return if diff --git a/src/cons.handler.c b/src/cons.handler.c index af3ae32a3..8ad88d569 100644 --- a/src/cons.handler.c +++ b/src/cons.handler.c @@ -423,7 +423,7 @@ set_attr (unsigned attr) 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 { \