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:
parent
3152b0bc4e
commit
cc73d03e49
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue