version 1.3 | | version 1.4 |
---|
| | |
*/ | | */ |
static void CnvPromptCb (Widget w, XtPointer client, XtPointer call) | | static void CnvPromptCb (Widget w, XtPointer client, XtPointer call) |
{ | | { |
CnvPromptSelect = (int) client; /* set cardinal */ | | |
char *t; | | char *t; |
| | CnvPromptSelect = (int) client; /* set cardinal */ |
XtVaGetValues(CnvPromptWidgetText, XtNstring, &t, NULL); | | XtVaGetValues(CnvPromptWidgetText, XtNstring, &t, NULL); |
| | |
snprintf(CnvPromptString, sizeof(CnvPromptString), "%s", t); | | snprintf(CnvPromptString, sizeof(CnvPromptString), "%s", t); |