Commit dd86bd82 authored by Dmitry Antipov's avatar Dmitry Antipov
Browse files

Fix Windows build errors introduced after converting to WGET and WSET.

* w32term.c (w32_set_vertical_scroll_bar): Change to use WSET.
Reported by Andy Moreton <andrewjmoreton@gmail.com>.
parent 054e1668
2012-08-06 Dmitry Antipov <dmantipov@yandex.ru>
Fix Windows build errors introduced after converting to WGET and WSET.
* w32term.c (w32_set_vertical_scroll_bar): Change to use WSET.
Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2012-08-06 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (ns_frame_rehighlight): Use FSET.
......
......@@ -3684,6 +3684,7 @@ w32_set_vertical_scroll_bar (struct window *w,
int portion, int whole, int position)
{
struct frame *f = XFRAME (WGET (w, frame));
Lisp_Object barobj;
struct scroll_bar *bar;
int top, height, left, sb_left, width, sb_width;
int window_y, window_height;
......@@ -3806,8 +3807,8 @@ w32_set_vertical_scroll_bar (struct window *w,
bar->fringe_extended_p = fringe_extended_p ? Qt : Qnil;
w32_set_scroll_bar_thumb (bar, portion, position, whole);
XSETVECTOR (WGET (w, vertical_scroll_bar), bar);
XSETVECTOR (barobj, bar);
WSET (w, vertical_scroll_bar, barobj);
}
......
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