mirror of https://github.com/0intro/wmii
fixed bug reported by bogon (with the sideeffect of empty ws until select)
This commit is contained in:
parent
e4d1df57e6
commit
bf9a872c4d
|
@ -195,6 +195,7 @@ update_ctags()
|
||||||
|
|
||||||
fprintf(stderr, "%s", "update_ctags\n");
|
fprintf(stderr, "%s", "update_ctags\n");
|
||||||
for(i = 0; i < nctag; i++) {
|
for(i = 0; i < nctag; i++) {
|
||||||
|
#if 0
|
||||||
Bool exists = False;
|
Bool exists = False;
|
||||||
for(j = 0; j < nclient; j++)
|
for(j = 0; j < nclient; j++)
|
||||||
if(strstr(client[j]->tags, ctag[i]))
|
if(strstr(client[j]->tags, ctag[i]))
|
||||||
|
@ -206,6 +207,7 @@ update_ctags()
|
||||||
j--;
|
j--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
free(ctag[i]);
|
free(ctag[i]);
|
||||||
ctag[i] = nil;
|
ctag[i] = nil;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue