Applied Phil Endecott's patch, which adds support for additional SGR
[apps/madtty.git] / rote.h
diff --git a/rote.h b/rote.h
index 6e4742b..a4f6b3e 100644 (file)
--- a/rote.h
+++ b/rote.h
@@ -79,7 +79,7 @@ Copyright (c) 2004 Bruno T. C. de Oliveira
 #define ROTE_ATTR_MOD_BOLD(attr, boldbit) \
                                attr &= 0x7F, attr |= (boldbit)?0x80:0x00
 #define ROTE_ATTR_MOD_BLINK(attr, blinkbit) \
-                               attr &= 0xF7, attr |= (boldbit)?0x08:0x00
+                               attr &= 0xF7, attr |= (blinkbit)?0x08:0x00
 
 /* these return non-zero for 'yes', zero for 'no'. Don't rely on them being 
  * any more specific than that (e.g. being exactly 1 for 'yes' or whatever). */