gnumeric r17290 - in trunk: . src



Author: mortenw
Date: Thu Apr  2 21:07:31 2009
New Revision: 17290
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17290&view=rev

Log:
2009-04-02  Morten Welinder  <terra gnome org>

	* src/ranges.c (range_clip_to_finite): Use the sheet.



Modified:
   trunk/ChangeLog
   trunk/src/ranges.c

Modified: trunk/src/ranges.c
==============================================================================
--- trunk/src/ranges.c	(original)
+++ trunk/src/ranges.c	Thu Apr  2 21:07:31 2009
@@ -616,9 +616,9 @@
 	 * using the current values as a cache
 	 */
 	extent = sheet_get_extent (sheet, FALSE);
-	if (range->end.col >= gnm_sheet_get_max_cols (NULL) - 2)
+	if (range->end.col >= gnm_sheet_get_max_cols (sheet) - 2)
 		range->end.col = extent.end.col;
-	if (range->end.row >= gnm_sheet_get_max_rows (NULL) - 2)
+	if (range->end.row >= gnm_sheet_get_max_rows (sheet) - 2)
 		range->end.row = extent.end.row;
 }
 



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