From 50f245ab3b7e42ae79ea4076ad7a2bbb97841cc6 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 4 Jan 2011 21:55:07 -0800 Subject: [PATCH] sys-file-writer: Fix subtype used for v14+ multiple response set records. --- src/data/sys-file-writer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/sys-file-writer.c b/src/data/sys-file-writer.c index efefa8fb..1a65e3c0 100644 --- a/src/data/sys-file-writer.c +++ b/src/data/sys-file-writer.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000, 2006, 2007, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2006, 2007, 2009, 2010, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -679,7 +679,7 @@ write_mrsets (struct sfm_writer *w, const struct dictionary *dict, ds_put_format (&s, " %s", var_get_short_name (mrset->vars[j], 0)); ds_put_byte (&s, '\n'); } - write_attribute_record (w, &s, 7); + write_attribute_record (w, &s, pre_v14 ? 7 : 19); ds_destroy (&s); } -- 2.30.2