[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/descript.c
From: |
John Darrington |
Subject: |
[Pspp-cvs] Changes to pspp/src/descript.c |
Date: |
Wed, 13 Apr 2005 06:10:04 -0400 |
Index: pspp/src/descript.c
diff -u pspp/src/descript.c:1.9 pspp/src/descript.c:1.10
--- pspp/src/descript.c:1.9 Mon Nov 15 09:51:22 2004
+++ pspp/src/descript.c Wed Apr 13 10:09:59 2005
@@ -120,7 +120,7 @@
struct dsc_var
{
struct variable *v; /* Variable to calculate on. */
- char z_name[9]; /* Name for z-score variable. */
+ char z_name[SHORT_NAME_LEN + 1];/* Name for z-score variable. */
double valid, missing; /* Valid, missing counts. */
struct moments *moments; /* Moments. */
double min, max; /* Maximum and mimimum values. */
@@ -483,7 +483,7 @@
/* Try a name based on the original variable name. */
name[0] = 'Z';
strcpy (name + 1, var_name);
- name[8] = '\0';
+ name[SHORT_NAME_LEN] = '\0';
if (try_name (dsc, name))
{
strcpy (z_name, name);
- [Pspp-cvs] Changes to pspp/src/descript.c,
John Darrington <=