diff src/window.c @ 5164:8bf9e67e06ec

Fix broken compile of window.c under Visual Studio 6.
author Vin Shelton <acs@xemacs.org>
date Mon, 22 Mar 2010 19:04:51 -0400
parents 1fae11d56ad2
children be6e5ea38dda
line wrap: on
line diff
--- a/src/window.c	Sun Mar 21 13:25:21 2010 +0000
+++ b/src/window.c	Mon Mar 22 19:04:51 2010 -0400
@@ -5516,14 +5516,20 @@
 vars_of_window (void)
 {
 #ifdef MEMORY_USAGE_STATS
+#ifdef HAVE_SCROLLBARS
   OBJECT_HAS_PROPERTY
     (window, memusage_stats_list,
      listu (Qface_cache, Qglyph_cache,
 	    Qline_start_cache, Qother_redisplay,
-#ifdef HAVE_SCROLLBARS
 	    Qscrollbar_instances,
+	    Qunbound));
+#else
+  OBJECT_HAS_PROPERTY
+    (window, memusage_stats_list,
+     listu (Qface_cache, Qglyph_cache,
+	    Qline_start_cache, Qother_redisplay,
+	    Qunbound));
 #endif
-	    Qunbound));
 #endif /* MEMORY_USAGE_STATS */
 
   DEFVAR_BOOL ("scroll-on-clipped-lines", &scroll_on_clipped_lines /*