diff options
| author | Eli Zaretskii | 2019-04-01 17:39:30 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-04-01 17:39:30 +0300 |
| commit | 20ef15fbe6d49b0bb8a1841dbe4665cf81a567d7 (patch) | |
| tree | ab2f4cb03e4c9962cd9a15ee4cf6ddff81ec0711 /src/xterm.c | |
| parent | d5fdcccacaf0b60a1e4c908fba638ef6e234b5e8 (diff) | |
| download | emacs-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/xterm.c')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index f90d6713b02..2f830afe61b 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -5343,7 +5343,7 @@ x_window_to_scroll_bar (Display *display, Window window_id, int type) | |||
| 5343 | bar = XSCROLL_BAR (bar)->next) | 5343 | bar = XSCROLL_BAR (bar)->next) |
| 5344 | if (XSCROLL_BAR (bar)->x_window == window_id | 5344 | if (XSCROLL_BAR (bar)->x_window == window_id |
| 5345 | && FRAME_X_DISPLAY (XFRAME (frame)) == display | 5345 | && FRAME_X_DISPLAY (XFRAME (frame)) == display |
| 5346 | && (type = 2 | 5346 | && (type == 2 |
| 5347 | || (type == 1 && XSCROLL_BAR (bar)->horizontal) | 5347 | || (type == 1 && XSCROLL_BAR (bar)->horizontal) |
| 5348 | || (type == 0 && !XSCROLL_BAR (bar)->horizontal))) | 5348 | || (type == 0 && !XSCROLL_BAR (bar)->horizontal))) |
| 5349 | return XSCROLL_BAR (bar); | 5349 | return XSCROLL_BAR (bar); |