From: John Darrington Date: Sun, 15 Mar 2009 22:50:58 +0000 (+0900) Subject: Emit variable callback even if label is null. X-Git-Tag: v0.7.3~228 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=835a6e662051fa50ce0af49118f46fe479b6051e;p=pspp-builds.git Emit variable callback even if label is null. When a label was set to null, previously no callback was emitted. Fixes bug #25872 --- diff --git a/src/data/variable.c b/src/data/variable.c index 30cf03b1..00c3f07f 100644 --- a/src/data/variable.c +++ b/src/data/variable.c @@ -720,8 +720,8 @@ var_set_label (struct variable *v, const char *label) ss_truncate (&s, 255); if (!ss_is_empty (s)) v->label = ss_xstrdup (s); - dict_var_changed (v); } + dict_var_changed (v); } /* Removes any variable label from V. */