]> granicus.if.org Git - procps-ng/commitdiff
watch: fixing future italic support
authorJaromir Capik <jcapik@redhat.com>
Sat, 6 Sep 2014 08:54:34 +0000 (10:54 +0200)
committerJaromir Capik <jcapik@redhat.com>
Sat, 6 Sep 2014 08:54:34 +0000 (10:54 +0200)
watch.c

diff --git a/watch.c b/watch.c
index e734165904b5affdd5615a4c08422bc6a428929a..b0c132ffeb45b950be69b190ae4d706286c95e27 100644 (file)
--- a/watch.c
+++ b/watch.c
@@ -169,7 +169,7 @@ static void set_ansi_attribute(const int attrib)
                break;
 #ifdef A_ITALIC
        case 23:        /* unset italic */
-               attributes &= A_ITALIC;
+               attributes &= ~A_ITALIC;
                break;
 #endif
        case 24:        /* unset underline */