1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00

dtkcmds.c: avoid c99 collision

This commit is contained in:
Chase 2019-12-15 10:22:54 -06:00 committed by Jon Trulson
parent 3152b0bc4e
commit cc73d03e49

View file

@ -4078,7 +4078,7 @@ do_XtSetSensitive(
char *argv[] )
{
wtab_t *w;
Boolean bool;
Boolean boolean;
XrmValue fval, tval;
if (argc != 3)
@ -4089,13 +4089,13 @@ do_XtSetSensitive(
XtConvert(Toplevel, XtRString, &fval, XtRBoolean, &tval);
if (tval.size != 0)
bool = *((Boolean *)(tval.addr));
boolean = *((Boolean *)(tval.addr));
else
return(1);
w = str_to_wtab(argv[0], argv[1]);
if (w != NULL)
XtSetSensitive(w->w, bool);
XtSetSensitive(w->w, boolean);
else
return(1);
return(0);