projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix rest of PR 13054.
[pspp-builds.git]
/
src
/
val-labs.c
diff --git
a/src/val-labs.c
b/src/val-labs.c
index 2fa02e646e06d413b41875cd9ccc207f0fdd2ba5..3dc4254f6d1c74ad89d37a623578c8244f17b152 100644
(file)
--- a/
src/val-labs.c
+++ b/
src/val-labs.c
@@
-154,7
+154,7
@@
get_label (struct variable **vars, int var_cnt)
lex_error (_("expecting string"));
return 0;
}
-
st_bare_pad_copy (value.s, ds_c_str (&tokstr), MAX_SHORT_STRING
);
+
buf_copy_str_rpad (value.s, MAX_SHORT_STRING, ds_c_str (&tokstr)
);
}
else
{