Commit df0f379b authored by Karl Heuer's avatar Karl Heuer
Browse files

(SCROLL_BAR_UNPACK): Use new accessor macros instead of calling XSET directly.

parent 1681c5f4
......@@ -530,8 +530,8 @@ struct scroll_bar {
/* 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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment