Commit 1c72a5f7 authored by Morten Welinder's avatar Morten Welinder

Sheet filter: fix UMR.

...and potentially an ABR too.
parent e99aa9b1
2015-04-09 Morten Welinder <terra@gnome.org>
* src/sheet-filter.c (filter_expr_eval): Fix UMR in the non-match
case.
2015-04-04 Morten Welinder <terra@gnome.org>
* src/xml-sax-read.c (xml_sax_read_obj): Fix reading anchor mode.
......
......@@ -29,6 +29,7 @@ Morten:
* Improve reading of xlsx theme colours.
* Plug leaks.
* Fix REPLACEB problem. [#747210]
* Fix sheet filter problem.
--------------------------------------------------------------------------
Gnumeric 1.12.21
......
......@@ -232,7 +232,7 @@ filter_expr_eval (GnmFilterOp op, GnmValue const *src, GORegexp const *regexp,
char *str = filter_cell_contents (cell);
GORegmatch rm;
int res = go_regexec (regexp, str, 1, &rm, 0);
gboolean whole = (rm.rm_so == 0 && str[rm.rm_eo] == 0);
gboolean whole = (res == GO_REG_OK && rm.rm_so == 0 && str[rm.rm_eo] == 0);
g_free (str);
......
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