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:
parent
09ff52cdc0
commit
c4a2a54cb7
|
|
@ -1443,7 +1443,7 @@ GrX11IconUpdate(w,text)
|
||||||
XSetClassHint( grXdpy, wind, &class);
|
XSetClassHint( grXdpy, wind, &class);
|
||||||
if (text == NULL)
|
if (text == NULL)
|
||||||
return;
|
return;
|
||||||
if ((brack = strchr(text,'[')) brack != text)
|
if ((brack = strchr(text,'[')) && (brack != text))
|
||||||
{
|
{
|
||||||
brack--;
|
brack--;
|
||||||
*brack = 0;
|
*brack = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue