opnsense-ports/textproc/xlhtml/files/patch-xlhtml__xlhtml.c
Franco Fichtner 52f06427da */*: sync with upstream
Taken from: FreeBSD
2016-04-27 08:47:01 +02:00

17 lines
430 B
C

--- xlhtml/xlhtml.c.orig 2002-04-11 03:25:17 UTC
+++ xlhtml/xlhtml.c
@@ -616,8 +616,13 @@ void scan_file(COLEDIRENT *cde, void *_i
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
{