projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PsppireVarView: Use g_realloc instead of xrealloc
[pspp]
/
src
/
language
/
dictionary
/
value-labels.c
diff --git
a/src/language/dictionary/value-labels.c
b/src/language/dictionary/value-labels.c
index 18e890ddb87f87a1b206facc4f771fcc69ae361b..2dfe0885bffb46a81ee33e01ad513f84d9ccd55e 100644
(file)
--- a/
src/language/dictionary/value-labels.c
+++ b/
src/language/dictionary/value-labels.c
@@
-19,8
+19,8
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
+#include "data/dataset.h"
#include "data/dictionary.h"
#include "data/dictionary.h"
-#include "data/procedure.h"
#include "data/value-labels.h"
#include "data/variable.h"
#include "language/command.h"
#include "data/value-labels.h"
#include "data/variable.h"
#include "language/command.h"
@@
-131,7
+131,7
@@
get_label (struct lexer *lexer, struct variable **vars, size_t var_cnt,
/* Set value. */
value_init (&value, width);
/* Set value. */
value_init (&value, width);
- if (!parse_value (lexer, &value,
width
))
+ if (!parse_value (lexer, &value,
vars[0]
))
{
value_destroy (&value, width);
return 0;
{
value_destroy (&value, width);
return 0;