projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51f9e41
)
Initialise label for piechart slices.
author
John Darrington
<jmd@pc-188.(none)>
Fri, 8 Aug 2008 01:13:07 +0000
(09:13 +0800)
committer
John Darrington
<jmd@pc-188.(none)>
Fri, 8 Aug 2008 01:13:07 +0000
(09:13 +0800)
(Closes bug #24014
src/language/stats/frequencies.q
patch
|
blob
|
history
diff --git
a/src/language/stats/frequencies.q
b/src/language/stats/frequencies.q
index e7509052b05b2aa93dfadbe3eb72a6cc97383e35..4f26f93d18c9188182de73d6f4912c4755f3a577 100644
(file)
--- a/
src/language/stats/frequencies.q
+++ b/
src/language/stats/frequencies.q
@@
-1499,6
+1499,7
@@
freq_tab_to_slice_array(const struct freq_tab *frq_tab,
{
const struct freq *frq = &frq_tab->valid[i];
+ ds_init_empty (&slices[i].label);
var_append_value_name (var, frq->value, &slices[i].label);
slices[i].magnetude = frq->count;
}