projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
table: Avoid initializer warnings with GCC 4.9.
[pspp]
/
src
/
output
/
charts
/
scree-cairo.c
diff --git
a/src/output/charts/scree-cairo.c
b/src/output/charts/scree-cairo.c
index d48a3642a805c3190feffad8fbcaf84c8c31b71c..db0ce1370fccb36ede5b65c04931d2267bcc2ffa 100644
(file)
--- a/
src/output/charts/scree-cairo.c
+++ b/
src/output/charts/scree-cairo.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2009 Free Software Foundation, Inc.
+ Copyright (C) 2009
, 2011
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-16,11
+16,11
@@
#include <config.h>
#include <config.h>
-#include
<output/charts/scree.h>
+#include
"output/charts/scree.h"
#include <math.h>
#include <math.h>
-#include
<output/cairo-chart.h>
+#include
"output/cairo-chart.h"
#include "gettext.h"
#define _(msgid) gettext (msgid)
#include "gettext.h"
#define _(msgid) gettext (msgid)
@@
-44,8
+44,8
@@
xrchart_draw_scree (const struct chart_item *chart_item, cairo_t *cr,
else
max = fabs (min);
else
max = fabs (min);
- xrchart_write_yscale (cr, geom, 0, max
, max
);
- xrchart_write_xscale (cr, geom, 0, rc->eval->size + 1
, rc->eval->size + 1
);
+ xrchart_write_yscale (cr, geom, 0, max);
+ xrchart_write_xscale (cr, geom, 0, rc->eval->size + 1);
xrchart_vector_start (cr, geom, "");
for (i = 0 ; i < rc->eval->size; ++i)
xrchart_vector_start (cr, geom, "");
for (i = 0 ; i < rc->eval->size; ++i)