Commit 800c2584 authored by Morten Welinder's avatar Morten Welinder

Fix insanity check.

parent 3982c15a
......@@ -737,7 +737,7 @@ eval_funcall (Sheet *sheet, ExprTree *tree, int eval_col, int eval_row, char **e
l = tree->u.function.arg_list;
argc = g_list_length (l);
if (sym->type != SYMBOL_VALUE) {
if (sym->type != SYMBOL_FUNCTION) {
*error_string = _("Internal error");
return NULL;
}
......
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