fixed a core dump

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

No files matched your search

+4 -2
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));