diff options
author | Anselm R Garbe <garbeam@gmail.com> | 2008-06-11 19:42:24 +0100 |
---|---|---|
committer | Anselm R Garbe <garbeam@gmail.com> | 2008-06-11 19:42:24 +0100 |
commit | 8f052596b2c79e74c0e47b93595f13a754b3e2ef (patch) | |
tree | f5245732fc8b9ea320412e9277d47e6a40ad21cb | |
parent | 9463d5354bc57d0c0086b7328196d7af60ed706d (diff) | |
download | dwm-8f052596b2c79e74c0e47b93595f13a754b3e2ef.tar dwm-8f052596b2c79e74c0e47b93595f13a754b3e2ef.tar.gz dwm-8f052596b2c79e74c0e47b93595f13a754b3e2ef.tar.bz2 |
crash fix
-rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1478,7 +1478,7 @@ togglefloating(const Arg *arg) { void togglelayout(const Arg *arg) { - if(arg->v) + if(arg && arg->v) lt = (Layout *)arg->v; else if(++lt == &layouts[LENGTH(layouts)]) lt = &layouts[0]; |