freebsd-ports/textproc/xlhtml/files/patch-ac
Maxim Sobolev 0fba8fa7c6 Update to 0.4.
Submitted by:	Masaharu FUJITA <fujita@hpc.cs.ehime-u.ac.jp>
2002-02-27 18:23:39 +00:00

20 lines
443 B
Text

$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
{