changeset 9101:1cd322ea379a

(x_scroll_bar_clear): Use type test macros.
author Karl Heuer <kwzh@gnu.org>
date Tue, 27 Sep 1994 00:24:27 +0000
parents 7dacd83e0fe0
children 7a73653817de
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Sep 26 23:43:18 1994 +0000
+++ b/src/xterm.c	Tue Sep 27 00:24:27 1994 +0000
@@ -2978,8 +2978,7 @@
 {
   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);