From 835a6e662051fa50ce0af49118f46fe479b6051e Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 16 Mar 2009 07:50:58 +0900 Subject: [PATCH] Emit variable callback even if label is null. When a label was set to null, previously no callback was emitted. Fixes bug #25872 --- src/data/variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.30.2