commit ebc347a3567cfaf264146cd26224f60fa16e878f
parent e2e18a8d766a2da36f0d480f8182acf2a27ef282
Author: Anselm R. Garbe <garbeam@wmii.de>
Date: Wed, 15 Mar 2006 16:30:06 +0100
hotfix of update_tags
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/wm/tag.c b/cmd/wm/tag.c
@@ -248,7 +248,7 @@ update_tags()
if(hasclient(tag[i])) {
tags2str(buf, sizeof(buf), tag[i]->tag, tag[i]->ntag);
if(!istag(newctag, nnewctag, buf)) {
- newctag = (char **)cext_array_attach((void **)newctag, strdup(client[i]->tag[j]),
+ newctag = (char **)cext_array_attach((void **)newctag, strdup(buf),
sizeof(char *), &newctagsz);
nnewctag++;
}