projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb4a38
)
(x_scroll_bar_clear): Use type test macros.
author
Karl Heuer
<kwzh@gnu.org>
Tue, 27 Sep 1994 00:24:27 +0000
(
00:24
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 27 Sep 1994 00:24:27 +0000
(
00:24
+0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 34b07de3c7dea7a8267f567d74ced75e82a81b34..6f128632759f4fde2ef318e68b18c913947e45a5 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-2978,8
+2978,7
@@
x_scroll_bar_clear (f)
{
Lisp_Object bar;
- for (bar = FRAME_SCROLL_BARS (f);
- XTYPE (bar) == Lisp_Vector;
+ for (bar = FRAME_SCROLL_BARS (f); VECTORP (bar);
bar = XSCROLL_BAR (bar)->next)
XClearArea (x_current_display, SCROLL_BAR_X_WINDOW (XSCROLL_BAR (bar)),
0, 0, 0, 0, True);