aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorPaul Eggert2012-01-09 09:36:10 -0800
committerPaul Eggert2012-01-09 09:36:10 -0800
commit35cf62d95cdcd5323dcea4a5385942c342ff1d9c (patch)
tree90358cbb033a126c4d48793a80fd804b7baaca24 /src/w32term.c
parent59815c02506eb39b61e672528ed03885749ba529 (diff)
parent7655cb66d86564e792b825f1a0e1a4de7d6e6db5 (diff)
downloademacs-35cf62d95cdcd5323dcea4a5385942c342ff1d9c.tar.gz
emacs-35cf62d95cdcd5323dcea4a5385942c342ff1d9c.zip
Merge from trunk.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 6df218326d1..f764ad9d218 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1,6 +1,6 @@
1/* Implementation of GUI terminal on the Microsoft W32 API. 1/* Implementation of GUI terminal on the Microsoft W32 API.
2 2
3Copyright (C) 1989, 1993-2011 Free Software Foundation, Inc. 3Copyright (C) 1989, 1993-2012 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -3286,7 +3286,7 @@ w32_mouse_position (FRAME_PTR *fp, int insist, Lisp_Object *bar_window,
3286 ***********************************************************************/ 3286 ***********************************************************************/
3287 3287
3288/* Handle mouse button event on the tool-bar of frame F, at 3288/* Handle mouse button event on the tool-bar of frame F, at
3289 frame-relative coordinates X/Y. EVENT_TYPE is either ButtionPress 3289 frame-relative coordinates X/Y. EVENT_TYPE is either ButtonPress
3290 or ButtonRelease. */ 3290 or ButtonRelease. */
3291 3291
3292static void 3292static void
@@ -3388,7 +3388,7 @@ w32_set_scroll_bar_thumb (struct scroll_bar *bar,
3388 if (whole) 3388 if (whole)
3389 { 3389 {
3390 /* Position scroll bar at rock bottom if the bottom of the 3390 /* Position scroll bar at rock bottom if the bottom of the
3391 buffer is visible. This avoids shinking the thumb away 3391 buffer is visible. This avoids shrinking the thumb away
3392 to nothing if it is held at the bottom of the buffer. */ 3392 to nothing if it is held at the bottom of the buffer. */
3393 if (position + portion >= whole && !draggingp) 3393 if (position + portion >= whole && !draggingp)
3394 { 3394 {
@@ -3556,7 +3556,7 @@ x_scroll_bar_remove (struct scroll_bar *bar)
3556 /* Destroy the window. */ 3556 /* Destroy the window. */
3557 my_destroy_window (f, SCROLL_BAR_W32_WINDOW (bar)); 3557 my_destroy_window (f, SCROLL_BAR_W32_WINDOW (bar));
3558 3558
3559 /* Disassociate this scroll bar from its window. */ 3559 /* Dissociate this scroll bar from its window. */
3560 XWINDOW (bar->window)->vertical_scroll_bar = Qnil; 3560 XWINDOW (bar->window)->vertical_scroll_bar = Qnil;
3561 3561
3562 UNBLOCK_INPUT; 3562 UNBLOCK_INPUT;