e: double paranthesis as gcc suggests
Since we assign and check for true value in one operation, use double paranthesis.
This commit is contained in:
parent
62bd0dcc42
commit
5fbac0819f
|
@ -831,7 +831,7 @@ ACT_FN_GO(window_border_cycle, __UNUSED__)
|
|||
{
|
||||
const char *bdname = params;
|
||||
|
||||
while (bdname && (space = strchr(bdname, ' ')))
|
||||
while ((space = strchr(bdname, ' ')))
|
||||
{
|
||||
if (strncmp(bd->bordername, bdname, space - bdname) == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue