Skip to content
Snippets Groups Projects
Commit 518d61e0 authored by deuce's avatar deuce
Browse files

Fix 8-color mode.

parent 3e2c3e7b
No related branches found
No related tags found
No related merge requests found
......@@ -616,7 +616,7 @@ void curs_textattr(int attr)
if (fg & 8) {
attrs |= A_BOLD;
}
colour = COLOR_PAIR( ((fg&7)|(bg&0x70))+1 );
colour = COLOR_PAIR( ((fg&7)|((bg&0x70)>>1))+1 );
}
#ifdef NCURSES_VERSION_MAJOR
attrset(attrs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment