changeset 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 b8b139a8b481
children 945ddb4e9e24
files src/xterm.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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.  */