summaryrefslogtreecommitdiffstats
path: root/names.c
diff options
context:
space:
mode:
authornicm <nicm>2016-07-15 09:27:35 +0000
committernicm <nicm>2016-07-15 09:27:35 +0000
commit68b1fd0cc60fe8719c04c9cae4a6f3e971b78409 (patch)
treee04c948a334b0e099489082ffb3c69fd6ccf7c13 /names.c
parent0f73af876f1222000a9eea76c70ae9a51ecb95e1 (diff)
Wrap some long lines and apply some static.
Diffstat (limited to 'names.c')
-rw-r--r--names.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/names.c b/names.c
index a03f6f5b..485155ff 100644
--- a/names.c
+++ b/names.c
@@ -73,12 +73,15 @@ check_window_name(struct window *w)
if (!event_initialized(&w->name_event))
evtimer_set(&w->name_event, name_time_callback, w);
if (!evtimer_pending(&w->name_event, NULL)) {
- log_debug("@%u name timer queued (%d left)", w->id, left);
+ log_debug("@%u name timer queued (%d left)", w->id,
+ left);
timerclear(&next);
next.tv_usec = left;
event_add(&w->name_event, &next);
- } else
- log_debug("@%u name timer already queued (%d left)", w->id, left);
+ } else {
+ log_debug("@%u name timer already queued (%d left)",
+ w->id, left);
+ }
return;
}
memcpy(&w->name_time, &tv, sizeof w->name_time);