projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ability for reverse iteration to tower code, and corresponding
[pspp]
/
src
/
output
/
table.c
diff --git
a/src/output/table.c
b/src/output/table.c
index a8624488e7775cc4aac93025ae0d05ddf0ae2ec8..d488f3aa68b60e590709b442cc79e3e433d620c4 100644
(file)
--- a/
src/output/table.c
+++ b/
src/output/table.c
@@
-1,6
+1,5
@@
/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000, 2006 Free Software Foundation, Inc.
- Written by Ben Pfaff <blp@gnu.org>.
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
@@
-31,7
+30,7
@@
#include <data/data-out.h>
#include <data/format.h>
#include <data/data-out.h>
#include <data/format.h>
-#include <data/va
riabl
e.h>
+#include <data/va
lu
e.h>
#include <libpspp/alloc.h>
#include <libpspp/assertion.h>
#include <libpspp/compiler.h>
#include <libpspp/alloc.h>
#include <libpspp/assertion.h>
#include <libpspp/compiler.h>
@@
-275,7
+274,7
@@
tab_hline (struct tab_table * t, int style, int x1, int x2, int y)
y += t->row_ofs;
assert (y >= 0);
y += t->row_ofs;
assert (y >= 0);
- assert (y < t->nr);
+ assert (y <
=
t->nr);
assert (x2 >= x1 );
assert (x1 >= 0 );
assert (x2 < t->nc);
assert (x2 >= x1 );
assert (x1 >= 0 );
assert (x2 < t->nc);