diff options
author | Anselm R. Garbe | 2007-05-15 14:06:18 +0200 |
---|---|---|
committer | Anselm R. Garbe | 2007-05-15 14:06:18 +0200 |
commit | f2d9d31ee2f0755a0ee79f943bf20a36997bc4a0 (patch) | |
tree | 3562a7bd8b38d3cb0400a2edfd217b98c6be3f50 /layout.c | |
parent | 60dfc1d7942206d552d764aa68e07720e806c2ef (diff) | |
download | aur-f2d9d31ee2f0755a0ee79f943bf20a36997bc4a0.tar.gz |
simplification
Diffstat (limited to 'layout.c')
-rw-r--r-- | layout.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -218,10 +218,8 @@ setlayout(const char *arg) { void togglebar(const char *arg) { - if(bpos == BarOff) { - if((bpos = BARPOS) == BarOff) - bpos = BarTop; - } + if(bpos == BarOff) + bpos = (BARPOS == BarOff) ? BarTop : BARPOS; else bpos = BarOff; updatebarpos(); |