Mercurial > hg > octave-terminal
changeset 243:5b2f4a58254b
[project @ 1993-11-30 23:48:47 by jwe]
author | jwe |
---|---|
date | Tue, 30 Nov 1993 23:48:47 +0000 |
parents | 742c4795aea9 |
children | d66cc97f77a9 |
files | src/variables.cc |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/variables.cc +++ b/src/variables.cc @@ -708,19 +708,19 @@ int j = 0; int i = 0; for (i = 0; i < key_len; i++) - list[j++] = key[i]; + list[j++] = strsave (key[i]); for (i = 0; i < glb_len; i++) - list[j++] = glb[i]; + list[j++] = strsave (glb[i]); for (i = 0; i < top_len; i++) - list[j++] = top[i]; + list[j++] = strsave (top[i]); for (i = 0; i < lcl_len; i++) - list[j++] = lcl[i]; + list[j++] = strsave (lcl[i]); for (i = 0; i < mfl_len; i++) - list[j++] = mfl[i]; + list[j++] = strsave (mfl[i]); list[j] = (char *) NULL;