Mercurial > emacs
diff src/xterm.h @ 9259:df555d80f093
(SCROLL_BAR_UNPACK): Use new accessor macros instead of calling XSET directly.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Tue, 04 Oct 1994 10:42:48 +0000 |
| parents | 632d43f8cde2 |
| children | 1f8c357797a2 |
line wrap: on
line diff
--- a/src/xterm.h Tue Oct 04 10:29:31 1994 +0000 +++ b/src/xterm.h Tue Oct 04 10:42:48 1994 +0000 @@ -530,8 +530,8 @@ /* Setting two lisp integers to the low and high words of a 32-bit C int. */ #define SCROLL_BAR_UNPACK(low, high, int32) \ - (XSET ((low), Lisp_Int, (int32) & 0xffff), \ - XSET ((high), Lisp_Int, ((int32) >> 16) & 0xffff)) + (XSETINT ((low), (int32) & 0xffff), \ + XSETINT ((high), ((int32) >> 16) & 0xffff)) /* Extract the X window id of the scroll bar from a struct scroll_bar. */
