dtkcmds.c: avoid c99 collision
authorChase <nicetrynsa@protonmail.ch>
Sun, 15 Dec 2019 16:22:54 +0000 (10:22 -0600)
committerJon Trulson <jon@radscan.com>
Sun, 15 Dec 2019 21:07:52 +0000 (14:07 -0700)
cde/programs/dtksh/dtkcmds.c

index 84476475e313c68714012feabb8844c96475786a..b47ee16061a43a1e17d24d10296c98db55a9f4cb 100644 (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);