aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lwlib/lwlib-Xaw.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lwlib/lwlib-Xaw.c b/lwlib/lwlib-Xaw.c
index efc287e062a..90aa782be81 100644
--- a/lwlib/lwlib-Xaw.c
+++ b/lwlib/lwlib-Xaw.c
@@ -124,7 +124,10 @@ xaw_update_one_widget (instance, widget, val, deep_p)
124 } 124 }
125 else if (XtIsSubclass (widget, dialogWidgetClass)) 125 else if (XtIsSubclass (widget, dialogWidgetClass))
126 { 126 {
127 XtVaSetValues (widget, XtNlabel, val->contents->value, 0); 127 Arg al[1];
128 int ac = 0;
129 XtSetArg (al[ac], XtNlabel, val->contents->value); ac++;
130 XtSetValues (widget, al, ac);
128 } 131 }
129 else if (XtIsSubclass (widget, commandWidgetClass)) 132 else if (XtIsSubclass (widget, commandWidgetClass))
130 { 133 {