aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorEli Zaretskii2019-04-01 17:39:30 +0300
committerEli Zaretskii2019-04-01 17:39:30 +0300
commit20ef15fbe6d49b0bb8a1841dbe4665cf81a567d7 (patch)
treeab2f4cb03e4c9962cd9a15ee4cf6ddff81ec0711 /src/w32term.c
parentd5fdcccacaf0b60a1e4c908fba638ef6e234b5e8 (diff)
downloademacs-20ef15fbe6d49b0bb8a1841dbe4665cf81a567d7.tar.gz
emacs-20ef15fbe6d49b0bb8a1841dbe4665cf81a567d7.zip
Fix a typo in xterm.c and w32term.c
* src/xterm.c (x_window_to_scroll_bar): * src/w32term.c (x_window_to_scroll_bar): Fix a typo.
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 4d5f2e7c3cc..7dbeda7a716 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -3690,7 +3690,7 @@ x_window_to_scroll_bar (Window window_id, int type)
3690 ! NILP (bar)); 3690 ! NILP (bar));
3691 bar = XSCROLL_BAR (bar)->next) 3691 bar = XSCROLL_BAR (bar)->next)
3692 if (SCROLL_BAR_W32_WINDOW (XSCROLL_BAR (bar)) == window_id 3692 if (SCROLL_BAR_W32_WINDOW (XSCROLL_BAR (bar)) == window_id
3693 && (type = 2 3693 && (type == 2
3694 || (type == 1 && XSCROLL_BAR (bar)->horizontal) 3694 || (type == 1 && XSCROLL_BAR (bar)->horizontal)
3695 || (type == 0 && !XSCROLL_BAR (bar)->horizontal))) 3695 || (type == 0 && !XSCROLL_BAR (bar)->horizontal)))
3696 return XSCROLL_BAR (bar); 3696 return XSCROLL_BAR (bar);