gnumeric r17121 - in trunk: . plugins/fn-lookup



Author: mortenw
Date: Sun Feb  1 15:51:51 2009
New Revision: 17121
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17121&view=rev

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

	* functions.c (get_elem): Don't turn empties into 0.



Modified:
   trunk/NEWS
   trunk/plugins/fn-lookup/ChangeLog
   trunk/plugins/fn-lookup/functions.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Sun Feb  1 15:51:51 2009
@@ -94,6 +94,7 @@
 	* Fix parsing problem for constructed ranges.  [#569730]
 	* Fix plugin menu merging.  [#569724]
 	* Improve handling of 3D ranges.  [#569372]
+	* For VLOOKUP and friends, do not turn empties into zeroes.  [#567389]
 
 --------------------------------------------------------------------------
 Gnumeric 1.9.3

Modified: trunk/plugins/fn-lookup/functions.c
==============================================================================
--- trunk/plugins/fn-lookup/functions.c	(original)
+++ trunk/plugins/fn-lookup/functions.c	Sun Feb  1 15:51:51 2009
@@ -343,9 +343,9 @@
 	  GnmEvalPos const *ep, gboolean vertical)
 {
 	if (vertical)
-		return value_area_fetch_x_y (data, 0, ui, ep);
+		return value_area_get_x_y (data, 0, ui, ep);
 	else
-		return value_area_fetch_x_y (data, ui, 0, ep);
+		return value_area_get_x_y (data, ui, 0, ep);
 }
 
 enum { LOOKUP_NOT_THERE = -1, LOOKUP_DATA_ERROR = -2 };



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