summaryrefslogtreecommitdiffstats
path: root/textproc/xlhtml/files/patch-xlhtml__xlhtml.c
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xlhtml/files/patch-xlhtml__xlhtml.c')
-rw-r--r--textproc/xlhtml/files/patch-xlhtml__xlhtml.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/xlhtml/files/patch-xlhtml__xlhtml.c b/textproc/xlhtml/files/patch-xlhtml__xlhtml.c
new file mode 100644
index 0000000..4442c67
--- /dev/null
+++ b/textproc/xlhtml/files/patch-xlhtml__xlhtml.c
@@ -0,0 +1,20 @@
+
+$FreeBSD$
+
+--- xlhtml/xlhtml.c 2002/02/27 18:10:01 1.1
++++ xlhtml/xlhtml.c 2002/02/27 18:12:58
+@@ -746,8 +746,13 @@
+ ws_array[i]->ws_title.str, ws_array[i]->biggest_row, ws_array[i]->biggest_col);
+ }
+ }
+- else if (Xtract)
++ else if (Xtract) {
++ if (xr2 == HARD_MAX_ROWS)
++ xr2 = ws_array[xp]->biggest_row;
++ if (xc2 == HARD_MAX_COLS)
++ xc2 = ws_array[xp]->biggest_col;
+ OutputPartialTableAscii();
++ }
+ }
+ else
+ {
OpenPOWER on IntegriCloud