projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a86739f
)
Emit variable callback even if label is null.
author
John Darrington
<john@darrington.wattle.id.au>
Sun, 15 Mar 2009 22:50:58 +0000
(07:50 +0900)
committer
John Darrington
<john@darrington.wattle.id.au>
Sun, 15 Mar 2009 22:50:58 +0000
(07:50 +0900)
When a label was set to null, previously no callback
was emitted. Fixes bug #25872
src/data/variable.c
patch
|
blob
|
history
diff --git
a/src/data/variable.c
b/src/data/variable.c
index 30cf03b134666cf8f6db1f457c8e3733b0b311e9..00c3f07f05fad273d79935a895242fb62799d0f6 100644
(file)
--- 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. */