Skip to content

Commit c4a2a54

Browse files
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.
1 parent 09ff52c commit c4a2a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphics/grX11su1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@ GrX11IconUpdate(w,text)
14431443
XSetClassHint( grXdpy, wind, &class);
14441444
if (text == NULL)
14451445
return;
1446-
if ((brack = strchr(text,'[')) brack != text)
1446+
if ((brack = strchr(text,'[')) && (brack != text))
14471447
{
14481448
brack--;
14491449
*brack = 0;

0 commit comments

Comments
 (0)