Browse Source

simplification

master
Anselm R. Garbe 18 years ago
parent
commit
1e826ddd3e
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      layout.c

+ 2
- 4
layout.c View File

@ -218,10 +218,8 @@ setlayout(const char *arg) {
void void
togglebar(const char *arg) { togglebar(const char *arg) {
if(bpos == BarOff) {
if((bpos = BARPOS) == BarOff)
bpos = BarTop;
}
if(bpos == BarOff)
bpos = (BARPOS == BarOff) ? BarTop : BARPOS;
else else
bpos = BarOff; bpos = BarOff;
updatebarpos(); updatebarpos();


Loading…
Cancel
Save