Commit e8df3f98 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Fix the discrepency in error code selection demonstrated by the new test

workbook.  Great work Uri.

2002-08-19  Jody Goldberg <jody@gnome.org>

	* src/value.c (value_new_float) : return #NUM rather than #VALUE
parent 316b324e
2002-08-19 Jody Goldberg <jody@gnome.org>
* src/value.c (value_new_float) : return #NUM rather than #VALUE
2002-08-19 Jon K Hellan <hellan@acm.org>
* src/file-priv.h: include <bonobo/bonobo-storage.h>
......
2002-08-19 Jody Goldberg <jody@gnome.org>
* src/value.c (value_new_float) : return #NUM rather than #VALUE
2002-08-19 Jon K Hellan <hellan@acm.org>
* src/file-priv.h: include <bonobo/bonobo-storage.h>
......
2002-08-19 Jody Goldberg <jody@gnome.org>
* src/value.c (value_new_float) : return #NUM rather than #VALUE
2002-08-19 Jon K Hellan <hellan@acm.org>
* src/file-priv.h: include <bonobo/bonobo-storage.h>
......
......@@ -85,7 +85,7 @@ value_new_float (gnum_float f)
return (Value *)v;
} else {
/* FIXME: bogus ep sent here. What to do? */
return value_new_error (NULL, gnumeric_err_VALUE);
return value_new_error (NULL, gnumeric_err_NUM);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment