summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console-client/ncursesw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-client/ncursesw.c b/console-client/ncursesw.c
index ce62660c..116f86cc 100644
--- a/console-client/ncursesw.c
+++ b/console-client/ncursesw.c
@@ -438,7 +438,7 @@ conchar_attr_to_attr (conchar_attr_t attr)
static inline short
conchar_attr_to_color_pair (conchar_attr_t attr)
{
- return COLOR_PAIR (attr.bgcol << 3 | attr.fgcol);
+ return attr.bgcol << 3 | attr.fgcol;
}
static void