diff options
author | okan | 2014-01-22 22:41:09 +0000 |
---|---|---|
committer | okan | 2014-01-22 22:41:09 +0000 |
commit | 1102ef5a50010967f9bc738494ac001c307b6667 (patch) | |
tree | fa4adebecd24b3c80dc1d5a60e047ab0cc1973cb | |
parent | f45e616fcea8f3c93278053c7fd184b8850a0c9e (diff) | |
download | cwm-1102ef5a50010967f9bc738494ac001c307b6667.tar.gz |
zap whitespace
-rw-r--r-- | kbfunc.c | 52 |
1 files changed, 26 insertions, 26 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: kbfunc.c,v 1.91 2014/01/22 21:48:27 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.92 2014/01/22 22:41:09 okan Exp $ */ #include <sys/param.h> @@ -236,15 +236,15 @@ kbfunc_exec(struct client_ctx *cc, union arg *arg) int l, i, cmd = arg->i; switch (cmd) { - case CWM_EXEC_PROGRAM: - label = "exec"; - break; - case CWM_EXEC_WM: - label = "wm"; - break; - default: - errx(1, "kbfunc_exec: invalid cmd %d", cmd); - /*NOTREACHED*/ + case CWM_EXEC_PROGRAM: + label = "exec"; + break; + case CWM_EXEC_WM: + label = "wm"; + break; + default: + errx(1, "kbfunc_exec: invalid cmd %d", cmd); + /*NOTREACHED*/ } TAILQ_INIT(&menuq); @@ -286,16 +286,16 @@ kbfunc_exec(struct client_ctx *cc, union arg *arg) if (mi->text[0] == '\0') goto out; switch (cmd) { - case CWM_EXEC_PROGRAM: - u_spawn(mi->text); - break; - case CWM_EXEC_WM: - u_exec(mi->text); - warn("%s", mi->text); - break; - default: - errx(1, "kb_func: egad, cmd changed value!"); - break; + case CWM_EXEC_PROGRAM: + u_spawn(mi->text); + break; + case CWM_EXEC_WM: + u_exec(mi->text); + warn("%s", mi->text); + break; + default: + errx(1, "kb_func: egad, cmd changed value!"); + break; } } out: @@ -470,11 +470,11 @@ void kbfunc_tile(struct client_ctx *cc, union arg *arg) { switch (arg->i) { - case CWM_TILE_HORIZ: - client_htile(cc); - break; - case CWM_TILE_VERT: - client_vtile(cc); - break; + case CWM_TILE_HORIZ: + client_htile(cc); + break; + case CWM_TILE_VERT: + client_vtile(cc); + break; } } |