projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Define isinf macro only if it is not defined as a macro, even if
[pspp]
/
src
/
output
/
charts
/
plot-chart.c
diff --git
a/src/output/charts/plot-chart.c
b/src/output/charts/plot-chart.c
index 497251f07eda20677029b3066196a9aa13250a15..3f5619fef9a0631e6037b64522e0975ffbb16127 100644
(file)
--- a/
src/output/charts/plot-chart.c
+++ b/
src/output/charts/plot-chart.c
@@
-1,6
+1,5
@@
/* PSPP - computes sample statistics.
Copyright (C) 2004 Free Software Foundation, Inc.
/* PSPP - computes sample statistics.
Copyright (C) 2004 Free Software Foundation, Inc.
- Written by John Darrington <john@darrington.wattle.id.au>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@
-36,11
+35,12
@@
#include <libpspp/str.h>
#include <libpspp/alloc.h>
#include <libpspp/str.h>
#include <libpspp/alloc.h>
+#include <libpspp/assertion.h>
#include <output/manager.h>
#include <output/output.h>
#include <output/manager.h>
#include <output/output.h>
-const char *data_colour[] = {
+const char *
const
data_colour[] = {
"brown",
"red",
"orange",
"brown",
"red",
"orange",
@@
-76,7
+76,7
@@
draw_tick(struct chart *chart,
else if (orientation == TICK_ORDINATE )
pl_flinerel_r(chart->lp, 0, position, -tickSize, position);
else
else if (orientation == TICK_ORDINATE )
pl_flinerel_r(chart->lp, 0, position, -tickSize, position);
else
-
assert(0
);
+
NOT_REACHED (
);
if ( label ) {
char buf[10];
if ( label ) {
char buf[10];