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

ssdiff: fix check for inserted or removed names.

parent 3e1ad164
2017-12-29 Morten Welinder <terra@gnome.org>
* src/ssdiff.c (diff_names): Fix checks for inserted or removed
name. #792038.
2017-12-28 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
......
Gnumeric 1.12.39
Morten:
* Fix ssdiff problem. [#792038]
--------------------------------------------------------------------------
Gnumeric 1.12.38
......
......@@ -1224,7 +1224,7 @@ diff_names (GnmDiffState *state,
GnmNamedExpr const *on = lo ? lo->data : NULL;
GnmNamedExpr const *nn = ln ? ln->data : NULL;
if (!nn || (on && cb_expr_name_by_name (on, nn)) < 0) {
if (!nn || (on && cb_expr_name_by_name (on, nn) < 0)) {
// Old name got removed
state->diff_found = TRUE;
state->actions->name_changed (state, on, nn);
......@@ -1232,7 +1232,7 @@ diff_names (GnmDiffState *state,
continue;
}
if (!on || (nn && cb_expr_name_by_name (on, nn)) > 0) {
if (!on || (nn && cb_expr_name_by_name (on, nn) > 0)) {
// New name got added
state->diff_found = TRUE;
state->actions->name_changed (state, on, nn);
......
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