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

Be sure the clear the expr if we are returning a value.


2000-05-06  Jody Goldberg <jgoldberg@home.com>

	* src/parse-util.c (parse_text_value_or_expr) : Be sure the clear the
	  expr if we are returning a value.
parent 0b49cd06
2000-05-06 Jody Goldberg <jgoldberg@home.com>
* src/parse-util.c (parse_text_value_or_expr) : Be sure the clear the
expr if we are returning a value.
2000-05-05 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_set_zoom_factor) : Need to recalc cell
sizes when zooming changes.
* src/functions/fn-math.c (gnumeric_countif) :
Make code match comment. We can safely ignore blanks.
(gnumeric_sumif) : Code was correct. Add a larger comment explaining
......
2000-05-06 Jody Goldberg <jgoldberg@home.com>
* src/parse-util.c (parse_text_value_or_expr) : Be sure the clear the
expr if we are returning a value.
2000-05-05 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_set_zoom_factor) : Need to recalc cell
sizes when zooming changes.
* src/functions/fn-math.c (gnumeric_countif) :
Make code match comment. We can safely ignore blanks.
(gnumeric_sumif) : Code was correct. Add a larger comment explaining
......
2000-05-06 Jody Goldberg <jgoldberg@home.com>
* src/parse-util.c (parse_text_value_or_expr) : Be sure the clear the
expr if we are returning a value.
2000-05-05 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_set_zoom_factor) : Need to recalc cell
sizes when zooming changes.
* src/functions/fn-math.c (gnumeric_countif) :
Make code match comment. We can safely ignore blanks.
(gnumeric_sumif) : Code was correct. Add a larger comment explaining
......
2000-05-06 Jody Goldberg <jgoldberg@home.com>
* src/parse-util.c (parse_text_value_or_expr) : Be sure the clear the
expr if we are returning a value.
2000-05-05 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_set_zoom_factor) : Need to recalc cell
sizes when zooming changes.
* src/functions/fn-math.c (gnumeric_countif) :
Make code match comment. We can safely ignore blanks.
(gnumeric_sumif) : Code was correct. Add a larger comment explaining
......
2000-05-06 Jody Goldberg <jgoldberg@home.com>
* src/parse-util.c (parse_text_value_or_expr) : Be sure the clear the
expr if we are returning a value.
2000-05-05 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_set_zoom_factor) : Need to recalc cell
sizes when zooming changes.
* src/functions/fn-math.c (gnumeric_countif) :
Make code match comment. We can safely ignore blanks.
(gnumeric_sumif) : Code was correct. Add a larger comment explaining
......
2000-05-06 Jody Goldberg <jgoldberg@home.com>
* src/parse-util.c (parse_text_value_or_expr) : Be sure the clear the
expr if we are returning a value.
2000-05-05 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_set_zoom_factor) : Need to recalc cell
sizes when zooming changes.
* src/functions/fn-math.c (gnumeric_countif) :
Make code match comment. We can safely ignore blanks.
(gnumeric_sumif) : Code was correct. Add a larger comment explaining
......
2000-05-06 Jody Goldberg <jgoldberg@home.com>
* src/parse-util.c (parse_text_value_or_expr) : Be sure the clear the
expr if we are returning a value.
2000-05-05 Jody Goldberg <jgoldberg@home.com>
* src/sheet.c (sheet_set_zoom_factor) : Need to recalc cell
sizes when zooming changes.
* src/functions/fn-math.c (gnumeric_countif) :
Make code match comment. We can safely ignore blanks.
(gnumeric_sumif) : Code was correct. Add a larger comment explaining
......
......@@ -517,8 +517,10 @@ parse_text_value_or_expr (EvalPos const * pos, char const * const text,
*val = value_new_error (pos, error_msg);
else
*val = NULL;
} else
} else {
*val = value_new_string (text);
*expr = NULL;
}
} else {
/* Does it match any formats */
*val = format_match (text, &desired_format);
......
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