strange bit-fields in gnome-terminal.c
Submitted by Morten Welinder
Assigned to Havoc Pennington
Link to original bug (#112672)
Description
The bit-fields below look weird. The have the possible values 0 and -1, yet TRUE (== +1) is being assigned to at least some of them.
Suggest adding "unsigned" (or "signed" if you really mean it).
struct terminal_config { int keyboard_secured :1; /* Does this terminal have the keyboard secured? / int bell :1; / Do we want the bell? / int blink :1; / Do we want blinking cursor? */ ... }
Resolution: RESOLVED OBSOLETE