Commit 0e4df4a3 authored by Jon K Hellan's avatar Jon K Hellan Committed by Jon Kåre Hellan
Browse files

Correct the max no. of rows check.

2000-01-30  Jon K Hellan  <hellan@acm.org>

	* ms-excel-write.c (write_sheet): Correct the max no. of rows check.
parent c55174ba
2000-01-30 Jon K Hellan <hellan@acm.org>
* ms-excel-write.c (write_sheet): Correct the max no. of rows check.
2000-01-29 Jody Goldberg <jgoldberg@home.com>
* ms-excel-read.c (ms_excel_read_workbook) : Correct the error
......
......@@ -3134,7 +3134,7 @@ write_sheet (BiffPut *bp, ExcelSheet *sheet)
/* We catch too large sheets during write check, but leave this in: */
maxrows = (sheet->wb->ver >= eBiffV8)
? eBiffMaxRowsV8 : eBiffMaxRowsV7;
g_assert (sheet->maxy > maxrows);
g_assert (sheet->maxy <= maxrows);
if (sheet->wb->ver >= eBiffV8) {
guint8 *data = ms_biff_put_len_next (bp, 0x200|BIFF_INDEX,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment