1
0

simplification

This commit is contained in:
Anselm R. Garbe 2007-05-15 14:06:18 +02:00
parent a967d7f664
commit 1e826ddd3e

View File

@ -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();