From: John Darrington Date: Fri, 8 Aug 2008 01:13:07 +0000 (+0800) Subject: Initialise label for piechart slices. X-Git-Tag: v0.7.0~3 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4630654612e9f6abf2372dbd6151c0ade21a9e6d;p=pspp-builds.git Initialise label for piechart slices. (Closes bug #24014 --- diff --git a/src/language/stats/frequencies.q b/src/language/stats/frequencies.q index e7509052..4f26f93d 100644 --- 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; }