gnumeric r17103 - trunk/plugins/fn-lookup
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r17103 - trunk/plugins/fn-lookup
- Date: Tue, 27 Jan 2009 18:07:39 +0000 (UTC)
Author: mortenw
Date: Tue Jan 27 18:07:39 2009
New Revision: 17103
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17103&view=rev
Log:
White-space cleanup.
Modified:
trunk/plugins/fn-lookup/functions.c
Modified: trunk/plugins/fn-lookup/functions.c
==============================================================================
--- trunk/plugins/fn-lookup/functions.c (original)
+++ trunk/plugins/fn-lookup/functions.c Tue Jan 27 18:07:39 2009
@@ -773,21 +773,21 @@
return value_new_error_NA (ei->pos);
if (col_idx <= 0)
return value_new_error_VALUE (ei->pos);
- if (col_idx > value_area_get_width (args [1], ei->pos))
+ if (col_idx > value_area_get_width (args[1], ei->pos))
return value_new_error_REF (ei->pos);
approx = (args[3] != NULL)
- ? value_get_as_checked_bool (args [3]) : TRUE;
+ ? value_get_as_checked_bool (args[3]) : TRUE;
index = approx
? find_index_bisection (ei, args[0], args[1], 1, TRUE)
: find_index_linear (ei, args[0], args[1], TRUE);
- if (args[4] != NULL && value_get_as_checked_bool (args [4]))
+ if (args[4] != NULL && value_get_as_checked_bool (args[4]))
return value_new_int (index);
if (index >= 0) {
GnmValue const *v;
- v = value_area_fetch_x_y (args [1], col_idx-1, index, ei->pos);
+ v = value_area_fetch_x_y (args[1], col_idx-1, index, ei->pos);
g_return_val_if_fail (v != NULL, NULL);
return value_dup (v);
}
@@ -835,15 +835,15 @@
return value_new_error_NA (ei->pos);
if (row_idx <= 0)
return value_new_error_VALUE (ei->pos);
- if (row_idx > value_area_get_height (args [1], ei->pos))
+ if (row_idx > value_area_get_height (args[1], ei->pos))
return value_new_error_REF (ei->pos);
approx = (args[3] != NULL)
- ? value_get_as_checked_bool (args [3]) : TRUE;
+ ? value_get_as_checked_bool (args[3]) : TRUE;
index = approx
? find_index_bisection (ei, args[0], args[1], 1, FALSE)
: find_index_linear (ei, args[0], args[1], FALSE);
- if (args[4] != NULL && value_get_as_checked_bool (args [4]))
+ if (args[4] != NULL && value_get_as_checked_bool (args[4]))
return value_new_int (index);
if (index >= 0) {
@@ -1273,7 +1273,7 @@
static GnmValue *
gnumeric_columns (GnmFuncEvalInfo *ei, GnmValue const * const *args)
{
- return value_new_int (value_area_get_width (args [0], ei->pos));
+ return value_new_int (value_area_get_width (args[0], ei->pos));
}
/***************************************************************************/
@@ -1417,7 +1417,7 @@
static GnmValue *
gnumeric_rows (GnmFuncEvalInfo *ei, GnmValue const * const *args)
{
- return value_new_int (value_area_get_height (args [0], ei->pos));
+ return value_new_int (value_area_get_height (args[0], ei->pos));
}
/***************************************************************************/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]