projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/stable'
[pspp-builds.git]
/
src
/
language
/
stats
/
crosstabs.q
diff --git
a/src/language/stats/crosstabs.q
b/src/language/stats/crosstabs.q
index 60d2faee8b7348c2ffa26f2b911ea705b78b5866..68d11e307e0ff41584d1ffae0ef4abd6d8c9ff74 100644
(file)
--- a/
src/language/stats/crosstabs.q
+++ b/
src/language/stats/crosstabs.q
@@
-1675,7
+1675,7
@@
enum_var_values (struct table_entry **entries, int entry_cnt, int var_idx,
if (mode == GENERAL)
{
if (mode == GENERAL)
{
- int width =
var_get_width (v
);
+ int width =
MIN (var_get_width (v), MAX_SHORT_STRING
);
int i;
*values = xnmalloc (entry_cnt, sizeof **values);
int i;
*values = xnmalloc (entry_cnt, sizeof **values);