From 42bf29fb20349b0c92307a4a9c503bee3e8e9039 Mon Sep 17 00:00:00 2001 From: tobias Date: Sat, 28 Nov 2009 17:52:12 +0000 Subject: style (whitespaces) ok oga, okan --- client.c | 6 +++--- kbfunc.c | 2 +- menu.c | 2 +- screen.c | 2 +- xevents.c | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client.c b/client.c index 6cf1d5b..b0eb875 100644 --- a/client.c +++ b/client.c @@ -441,7 +441,7 @@ client_draw_border(struct client_ctx *cc) static void client_update(struct client_ctx *cc) { - Atom *p; + Atom *p; int i; long n; @@ -694,10 +694,10 @@ client_getsizehints(struct client_ctx *cc) cc->geom.inch = MAX(1, cc->geom.inch); if (cc->size->flags & PAspect) { - if (cc->size->min_aspect.x > 0) + if (cc->size->min_aspect.x > 0) cc->geom.mina = (float)cc->size->min_aspect.y / cc->size->min_aspect.x; - if (cc->size->max_aspect.y > 0) + if (cc->size->max_aspect.y > 0) cc->geom.maxa = (float)cc->size->max_aspect.x / cc->size->max_aspect.y; } diff --git a/kbfunc.c b/kbfunc.c index bae7e2f..97bf7cf 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -386,7 +386,7 @@ kbfunc_client_label(struct client_ctx *cc, union arg *arg) char *current; TAILQ_INIT(&menuq); - + current = cc->label; if ((mi = menu_filter(&menuq, "label", current, 1, diff --git a/menu.c b/menu.c index 4488020..83be09b 100644 --- a/menu.c +++ b/menu.c @@ -336,7 +336,7 @@ menu_draw(struct screen_ctx *sc, struct menu_ctx *mc, struct menu_q *menuq, mi->print : mi->text; font_draw(sc, text, MIN(strlen(text), MENU_MAXENTRY), - sc->menuwin, 0, n*font_height() + font_ascent() + 1); + sc->menuwin, 0, n * font_height() + font_ascent() + 1); n++; } diff --git a/screen.c b/screen.c index f3f1a5a..6372362 100644 --- a/screen.c +++ b/screen.c @@ -77,7 +77,7 @@ screen_init_xinerama(struct screen_ctx *sc) HasXinerama = 0; sc->xinerama_no = 0; } - + info = XineramaQueryScreens(X_Dpy, &no); if (info == NULL) { /* Is xinerama actually off, instead of a malloc failure? */ diff --git a/xevents.c b/xevents.c index db85caf..8d24468 100644 --- a/xevents.c +++ b/xevents.c @@ -375,7 +375,7 @@ xev_handle_randr(XEvent *ee) } } -/* +/* * Called when the keymap has changed. * Ungrab all keys, reload keymap and then regrab */ -- cgit 1.4.1