summaryrefslogtreecommitdiff
path: root/vui.c
diff options
context:
space:
mode:
Diffstat (limited to 'vui.c')
-rw-r--r--vui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vui.c b/vui.c
index 7afd974..c5b09bf 100644
--- a/vui.c
+++ b/vui.c
@@ -420,7 +420,7 @@ static void attr_chg(VuiAttr *ptr, VuiAttr to) {
if (from == to) return;
/* bold colors will keep the terminal bold, even on changing after */
- if ((from & 8) && (~to & 8)) {
+ if ((from & 8) && (~to & 8) && (~to & A_BOLD)) {
from |= A_BOLD;
}