gnumeric r17260 - trunk/plugins/excel



Author: mortenw
Date: Tue Mar 31 13:17:24 2009
New Revision: 17260
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17260&view=rev

Log:
Ugh.



Modified:
   trunk/plugins/excel/ms-biff.c

Modified: trunk/plugins/excel/ms-biff.c
==============================================================================
--- trunk/plugins/excel/ms-biff.c	(original)
+++ trunk/plugins/excel/ms-biff.c	Tue Mar 31 13:17:24 2009
@@ -439,7 +439,7 @@
 	XL_CHECK_CONDITION_VAL (len < 20000, FALSE);
 
 	if (len > 0) {
-		q->data = (guint8 *)gsf_input_read (q->input, q->length, NULL);
+		q->data = (guint8 *)gsf_input_read (q->input, len, NULL);
 		if (q->data == NULL)
 			return FALSE;
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]