projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* value.h (value_cnt_from_width): New function.
[pspp]
/
src
/
data
/
variable.c
diff --git
a/src/data/variable.c
b/src/data/variable.c
index f890746ac051c12adf355b9824c53939a0c5e1e1..768aa477835a4749f27ab816d8abec4ad4b6aa52 100644
(file)
--- a/
src/data/variable.c
+++ b/
src/data/variable.c
@@
-423,7
+423,7
@@
var_is_long_string (const struct variable *v)
size_t
var_get_value_cnt (const struct variable *v)
{
- return v
->width == 0 ? 1 : DIV_RND_UP (v->width, MAX_SHORT_STRING
);
+ return v
alue_cnt_from_width (v->width
);
}
\f
/* Returns variable V's missing values. */