Corrected a syntax error in the old (non-Tcl/Tk) grX11su1.c code

that was introduced with a slew of updates back in October, as
noticed and reported (with solution) by J. Schonberg.
This commit is contained in:
Tim Edwards 2025-02-15 22:20:50 -05:00
parent 09ff52cdc0
commit c4a2a54cb7
1 changed files with 1 additions and 1 deletions

View File

@ -1443,7 +1443,7 @@ GrX11IconUpdate(w,text)
XSetClassHint( grXdpy, wind, &class);
if (text == NULL)
return;
if ((brack = strchr(text,'[')) brack != text)
if ((brack = strchr(text,'[')) && (brack != text))
{
brack--;
*brack = 0;