Commit d6c9876c authored by Morten Welinder's avatar Morten Welinder

Conditional Formatting: fix crash [#361]

parent 5dc9fce1
......@@ -985,7 +985,7 @@ gnm_style_conditions_eval (GnmStyleConditions const *sc, GnmEvalPos const *ep)
g_return_val_if_fail (sc->conditions != NULL, -1);
cell = sheet_cell_get (ep->sheet, ep->eval.col, ep->eval.row);
cv = value_dup (cell->value);
cv = cell ? value_dup (cell->value) : NULL;
conds = sc->conditions;
......
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