projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Multiple dependent variables may be specified; less strict DEPENDENT and METHOD subco...
[pspp]
/
src
/
piechart.c
diff --git
a/src/piechart.c
b/src/piechart.c
index d4cec9295c53fef6146b1ed6c92b85daef499f13..dd889c334cfb39e4e9fac62de83f6c21f81a04fb 100644
(file)
--- a/
src/piechart.c
+++ b/
src/piechart.c
@@
-15,8
+15,8
@@
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
-0211
1-1307
, USA. */
+Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+0211
0-1301
, USA. */
#include "config.h"
#include "config.h"
@@
-54,9
+54,7
@@
piechart_plot(const char *title, const struct slice *slices, int n_slices)
int i;
double total_magnetude=0;
int i;
double total_magnetude=0;
- struct chart *ch;
-
- ch = chart_create();
+ struct chart *ch = chart_create();
const double left_label = ch->data_left +
(ch->data_right - ch->data_left)/10.0;
const double left_label = ch->data_left +
(ch->data_right - ch->data_left)/10.0;