diff options
| author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-14 10:49:22 +0200 |
|---|---|---|
| committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-14 10:49:22 +0200 |
| commit | 2c0d1cc87bf084ed3f1cdb4be881fb4f64f5773a (patch) | |
| tree | a4a21bf2ff4747b0b86a979ea765f769705f6968 /tag.c | |
| parent | implemented ungrabkeys() which is called in cleanup() (diff) | |
| download | dwm-2c0d1cc87bf084ed3f1cdb4be881fb4f64f5773a.tar.gz dwm-2c0d1cc87bf084ed3f1cdb4be881fb4f64f5773a.zip | |
fixed a core dump
Diffstat (limited to '')
| -rw-r--r-- | tag.c | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -211,8 +211,10 @@ restack() | |||
| 211 | else | 211 | else |
| 212 | m++; | 212 | m++; |
| 213 | } | 213 | } |
| 214 | 214 | if(!(n = 2 * (f + m))) { | |
| 215 | n = 2 * (f + m); | 215 | drawstatus(); |
| 216 | return; | ||
| 217 | } | ||
| 216 | if(nwins < n) { | 218 | if(nwins < n) { |
| 217 | nwins = n; | 219 | nwins = n; |
| 218 | wins = erealloc(wins, nwins * sizeof(Window)); | 220 | wins = erealloc(wins, nwins * sizeof(Window)); |
