summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-07-31 10:42:51 +0800
committerPo Lu <luangruo@yahoo.com>2022-07-31 10:42:51 +0800
commitb7f227ed8bece1a8fafd36ce5f0ee0d5913b6f8b (patch)
treef5166047d52eb7377f8e1e230884911769dd0f67
parenta66e6542769eae039aba57644eca2d6afcbe3360 (diff)
downloademacs-b7f227ed8bece1a8fafd36ce5f0ee0d5913b6f8b.tar.gz
; * src/xterm.c (XTset_vertical_scroll_bar): Fix typo in last change.
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 6dd3aad0e01..9dc83ac84c7 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -14929,7 +14929,7 @@ XTset_vertical_scroll_bar (struct window *w, int portion, int whole, int positio
}
bar = x_scroll_bar_create (w, top, left, width, max (height, 1), false);
-#ifdef USE_TOOKIT_SCROLL_BARS
+#ifndef USE_TOOKIT_SCROLL_BARS
/* Since non-toolkit scroll bars don't display their contents to
a dedicated window, no expose event will be generated.
Redraw the scroll bar manually. */