aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorDmitry Antipov2012-11-09 18:45:15 +0400
committerDmitry Antipov2012-11-09 18:45:15 +0400
commit535cc8e9fbeafed4c3e3ef6d8bbffd489fb1d1b9 (patch)
treedd8178b31a49bdedabd0cfef4045f49912b18ecf /src/w32term.c
parent7d377c482f6e60464c9891ee64cf6bcdf770a707 (diff)
downloademacs-535cc8e9fbeafed4c3e3ef6d8bbffd489fb1d1b9.tar.gz
emacs-535cc8e9fbeafed4c3e3ef6d8bbffd489fb1d1b9.zip
Fix recently introduced crash on MS-Windows (Bug#12839).
* w32term.h (struct scroll_bar): Use convenient header. (SCROLL_BAR_VEC_SIZE): Remove. * w32term.c (x_scroll_bar_create): Use VECSIZE.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 4cc0b860947..b14a46bc01a 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -3626,7 +3626,7 @@ x_scroll_bar_create (struct window *w, int top, int left, int width, int height)
3626 HWND hwnd; 3626 HWND hwnd;
3627 SCROLLINFO si; 3627 SCROLLINFO si;
3628 struct scroll_bar *bar 3628 struct scroll_bar *bar
3629 = XSCROLL_BAR (Fmake_vector (make_number (SCROLL_BAR_VEC_SIZE), Qnil)); 3629 = XSCROLL_BAR (Fmake_vector (make_number (VECSIZE (struct scroll_bar)), Qnil));
3630 Lisp_Object barobj; 3630 Lisp_Object barobj;
3631 3631
3632 block_input (); 3632 block_input ();