2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
authorFernando Nasser <fnasser@redhat.com>
Thu, 17 Feb 2000 20:08:48 +0000 (20:08 +0000)
committerFernando Nasser <fnasser@redhat.com>
Thu, 17 Feb 2000 20:08:48 +0000 (20:08 +0000)
From Rodney Brown  <RodneyBrown@pmsc.com>
* ui-out.c (ui_out_set_flags): Fix typo, removing warning and
potentially harming mistake.

gdb/ChangeLog
gdb/ui-out.c

index 92c624d46265a7614bb9fcf5376bbbf7d06b0739..3d78a2804d91b6cdc06b58eeca79f7cbf18d00ce 100644 (file)
@@ -1,5 +1,9 @@
 2000-02-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
 
+       From Rodney Brown  <RodneyBrown@pmsc.com>
+       * ui-out.c (ui_out_set_flags): Fix typo, removing warning and
+       potentially harming mistake.
+
        * arm-tdep.c: Use header file instead of extern declarations for
        the {get,set}_arm_regname* functions.
 
index 9e400111443d9b78683425d6d2638b217c8a4070..80dee5305f47ac0abbb7a089abce4cc604a05dab 100644 (file)
@@ -492,7 +492,7 @@ ui_out_set_flags (uiout, mask)
 {
   int oldflags;
 
-  uiout->flags != mask;
+  uiout->flags |= mask;
 
   return oldflags;
 }