1
0

fixed a core dump

This commit is contained in:
Anselm R.Garbe 2006-08-14 10:49:22 +02:00
parent 375a251d16
commit 2c0d1cc87b
2 changed files with 4 additions and 3 deletions

View File

@ -52,7 +52,6 @@ focus(Client *c)
if (!issel)
return;
Client *old = sel;
XEvent ev;
sel = c;
if(old && old != c)

6
tag.c
View File

@ -211,8 +211,10 @@ restack()
else
m++;
}
n = 2 * (f + m);
if(!(n = 2 * (f + m))) {
drawstatus();
return;
}
if(nwins < n) {
nwins = n;
wins = erealloc(wins, nwins * sizeof(Window));