diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-13 19:29:25 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-08-13 19:29:25 +0400 |
commit | c8ae93b0890e61c5fbc151216d9169968e532f30 (patch) | |
tree | 537c00d521356f4b18ef6a9f5d10d222c966fcdd /src/w32term.h | |
parent | 53b64418c20b6288e0e3a589b61db47861a575b6 (diff) |
* window.h (WINDOW_FRINGE_EXTENDED_P): New macro.
* nsterm.m (ns_set_vertical_scroll_bar): Use it. Use convenient
bool instead of BOOL.
* w32term.h (struct scroll_bar): Convert fringe_extended_p
from Lisp_Object to bitfield. Adjust comment.
* w32term.c (x_scroll_bar_create): Adjust user.
Use WINDOW_FRINGE_EXTENDED_P and bool for boolean.
* xterm.c (XTset_vertical_scroll_bar): Likewise.
Use bool for boolean.
* xterm.h (struct scroll_bar): Prefer commonly used `unsigned'
to `unsigned int' when defining a bitfield.
Diffstat (limited to 'src/w32term.h')
-rw-r--r-- | src/w32term.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32term.h b/src/w32term.h index 3c9cce3522..8a1bbd1176 100644 --- a/src/w32term.h +++ b/src/w32term.h @@ -451,9 +451,9 @@ struct scroll_bar { being dragged, this is Qnil. */ Lisp_Object dragging; - /* t if the background of the fringe that is adjacent to a scroll + /* 1 if the background of the fringe that is adjacent to a scroll bar is extended to the gap between the fringe and the bar. */ - Lisp_Object fringe_extended_p; + unsigned fringe_extended_p : 1; }; /* Turning a lisp vector value into a pointer to a struct scroll_bar. */ |