--- st.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/st.c b/st.c index 546db41..0c917fd 100644 --- a/st.c +++ b/st.c _AT_@ -1718,11 +1718,8 @@ tsetattr(int *attr, int l) { case 9: term.c.attr.mode |= ATTR_STRUCK; break; - case 21: - term.c.attr.mode &= ~ATTR_BOLD; - break; case 22: - term.c.attr.mode &= ~ATTR_FAINT; + term.c.attr.mode &= ~(ATTR_BOLD | ATTR_FAINT); break; case 23: term.c.attr.mode &= ~ATTR_ITALIC; _AT_@ -1731,10 +1728,7 @@ tsetattr(int *attr, int l) { term.c.attr.mode &= ~ATTR_UNDERLINE; break; case 25: - term.c.attr.mode &= ~ATTR_BLINK; - break; - case 26: - term.c.attr.mode &= ~ATTR_FASTBLINK; + term.c.attr.mode &= ~(ATTR_BLINK | ATTR_FASTBLINK); break; case 27: term.c.attr.mode &= ~ATTR_REVERSE; -- 1.8.5.1Received on Sat Jul 26 2014 - 09:48:15 CEST
This archive was generated by hypermail 2.3.0 : Sat Jul 26 2014 - 10:00:09 CEST