aboutsummaryrefslogtreecommitdiff
path: root/names.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2016-07-19 10:43:10 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2016-07-19 10:43:10 +0100
commitaf389364739224e5fefa1e523b110fdcae1c7961 (patch)
tree290db4145c1d8827d828537e2052c13c0d3aef2f /names.c
parent0e110360557768e0e202fba5c4e82ac168d65007 (diff)
parenta24260bb23cd0a51ebd5f123d477520f8f953c5c (diff)
downloadrtmux-af389364739224e5fefa1e523b110fdcae1c7961.tar.gz
rtmux-af389364739224e5fefa1e523b110fdcae1c7961.tar.bz2
rtmux-af389364739224e5fefa1e523b110fdcae1c7961.zip
Merge branch 'master' of github.com:tmux/tmux
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);