[gnumeric] D-funcs: missing file.



commit ddb17b843224f5ea96388e3701f67fda619c38e9
Author: Morten Welinder <terra gnome org>
Date:   Mon Aug 8 09:20:15 2016 -0400

    D-funcs: missing file.

 src/value.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/value.c b/src/value.c
index 3ad6ccc..03a4127 100644
--- a/src/value.c
+++ b/src/value.c
@@ -1515,7 +1515,7 @@ criteria_inspect_values (GnmValue const *x, gnm_float *xr, gnm_float *yr,
        case VALUE_FLOAT:
                *yr = value_get_as_float (y);
 
-               if (VALUE_IS_BOOLEAN (x))
+               if (VALUE_IS_BOOLEAN (x) || VALUE_IS_ERROR (x))
                        return CRIT_WRONGTYPE;
                else if (VALUE_IS_FLOAT (x)) {
                        *xr = value_get_as_float (x);


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