layout.c
changeset 883 2cbf1010be11
parent 880 f330be522eca
child 887 44755dcf1ad4
equal deleted inserted replaced
882:9c7fba655d72 883:2cbf1010be11
   216 		drawstatus();
   216 		drawstatus();
   217 }
   217 }
   218 
   218 
   219 void
   219 void
   220 togglebar(const char *arg) {
   220 togglebar(const char *arg) {
   221 	bpos = (bpos == BarOff) ? BARPOS : BarOff;
   221 	if(bpos == BarOff) {
       
   222 		if((bpos = BARPOS) == BarOff)
       
   223 			bpos = BarTop;
       
   224 	}
       
   225 	else
       
   226 		bpos = BarOff;
   222 	updatebarpos();
   227 	updatebarpos();
   223 	lt->arrange();
   228 	lt->arrange();
   224 }
   229 }
   225 
   230 
   226 void
   231 void