diff options
Diffstat (limited to 'viewres.c')
-rw-r--r-- | viewres.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -812,10 +812,11 @@ set_node_labels(XmuWidgetNode *node, int depth) { Arg args[1]; XmuWidgetNode *child; - ViewresData *d = VData(node); + ViewresData *d; if (!node) return; + d = VData(node); XtSetArg(args[0], XtNlabel, (options.show_variable ? node->label : XmuWnClassname(node))); XtSetValues(d->instance, args, ONE); |