projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed issues which arose on x86_64 architecture
[pspp]
/
src
/
val-labs.c
diff --git
a/src/val-labs.c
b/src/val-labs.c
index 2fa02e646e06d413b41875cd9ccc207f0fdd2ba5..47d1ee65b406d67d839161c0f5ee42fa80dbd986 100644
(file)
--- a/
src/val-labs.c
+++ b/
src/val-labs.c
@@
-28,6
+28,9
@@
#include "str.h"
#include "value-labels.h"
#include "var.h"
#include "str.h"
#include "value-labels.h"
#include "var.h"
+
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
\f
/* Declarations. */
\f
/* Declarations. */
@@
-154,7
+157,7
@@
get_label (struct variable **vars, int var_cnt)
lex_error (_("expecting string"));
return 0;
}
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
{
}
else
{