diff view.c @ 515:d6d1d0033e3c

removed useless updatemaster
author Anselm R. Garbe <arg@10kloc.org>
date Fri, 29 Sep 2006 17:25:49 +0200
parents e43292f339ea
children 73afe7587bea
line wrap: on
line diff
--- a/view.c	Fri Sep 29 17:20:05 2006 +0200
+++ b/view.c	Fri Sep 29 17:25:49 2006 +0200
@@ -340,16 +340,11 @@
 		stackpos = STACKPOS;
 	else
 		stackpos = StackBottom;
-	updatemaster();
+	master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100;
 	arrange(NULL);
 }
 
 void
-updatemaster(void) {
-	master = ((stackpos == StackBottom ? sh - bh : sw) * MASTER) / 100;
-}
-
-void
 view(Arg *arg) {
 	unsigned int i;