Fix minor problems found by static checking.
[bpt/emacs.git] / src / buffer.h
index f39e3d3..586090f 100644 (file)
@@ -475,7 +475,10 @@ struct buffer_text
     /* Usually 0.  Temporarily set to 1 in decode_coding_gap to
        prevent Fgarbage_collect from shrinking the gap and losing
        not-yet-decoded bytes.  */
-    bool inhibit_shrinking;
+    unsigned inhibit_shrinking : 1;
+
+    /* True if it needs to be redisplayed.  */
+    unsigned redisplay : 1;
   };
 
 /* Most code should use this macro to access Lisp fields in struct buffer.  */
@@ -871,7 +874,7 @@ struct buffer
 };
 
 /* Most code should use these functions to set Lisp fields in struct
-   buffer.  (Some setters that are priviate to a single .c file are
+   buffer.  (Some setters that are private to a single .c file are
    defined as static in those files.)  */
 INLINE void
 bset_bidi_paragraph_direction (struct buffer *b, Lisp_Object val)