changeset 85013:92fa2952cd73

(Fcurrent_window_configuration): Use XSETPVECTYPE.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 02 Oct 2007 21:03:04 +0000
parents 3a31b2cfe77f
children ad5045db16f7
files src/window.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Tue Oct 02 20:57:49 2007 +0000
+++ b/src/window.c	Tue Oct 02 21:03:04 2007 +0000
@@ -6663,6 +6663,7 @@
 
   n_windows = count_windows (XWINDOW (FRAME_ROOT_WINDOW (f)));
   vec = allocate_other_vector (VECSIZE (struct save_window_data));
+  XSETPVECTYPE (vec, PVEC_WINDOW_CONFIGURATION);
   data = (struct save_window_data *)vec;
 
   XSETFASTINT (data->frame_cols, FRAME_COLS (f));