-/* $OpenBSD: cmd-set-option.c,v 1.115 2017/05/10 13:05:41 nicm Exp $ */
+/* $OpenBSD: cmd-set-option.c,v 1.116 2017/05/31 17:56:48 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
RB_FOREACH(w, windows, &windows)
layout_fix_panes(w, w->sx, w->sy);
}
- RB_FOREACH (s, sessions, &sessions)
+ RB_FOREACH(s, sessions, &sessions)
status_update_saved(s);
/*
-/* $OpenBSD: format.c,v 1.141 2017/05/30 21:44:59 nicm Exp $ */
+/* $OpenBSD: format.c,v 1.142 2017/05/31 17:56:48 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
log_debug("%s: %p %s: %s", __func__, fj, fj->cmd, fj->out);
- t = time (NULL);
+ t = time(NULL);
if (fj->status && fj->last != t) {
if (fj->client != NULL)
server_status_client(fj->client);
-/* $OpenBSD: job.c,v 1.44 2017/04/25 15:35:10 nicm Exp $ */
+/* $OpenBSD: job.c,v 1.45 2017/05/31 17:56:48 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
struct job *job = data;
if (job->updatecb != NULL)
- job->updatecb (job);
+ job->updatecb(job);
}
/*
-/* $OpenBSD: options.c,v 1.34 2017/04/22 06:13:30 nicm Exp $ */
+/* $OpenBSD: options.c,v 1.35 2017/05/31 17:56:48 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
{
struct options_entry *o, *tmp;
- RB_FOREACH_SAFE (o, options_tree, &oo->tree, tmp)
+ RB_FOREACH_SAFE(o, options_tree, &oo->tree, tmp)
options_remove(o);
free(oo);
}
-/* $OpenBSD: screen-write.c,v 1.125 2017/05/30 21:44:59 nicm Exp $ */
+/* $OpenBSD: screen-write.c,v 1.126 2017/05/31 17:56:48 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
struct grid_cell gc;
- TAILQ_ENTRY (screen_write_collect_item) entry;
+ TAILQ_ENTRY(screen_write_collect_item) entry;
};
struct screen_write_collect_line {
TAILQ_HEAD(, screen_write_collect_item) items;
-/* $OpenBSD: utf8.c,v 1.36 2017/03/17 14:51:41 nicm Exp $ */
+/* $OpenBSD: utf8.c,v 1.37 2017/05/31 17:56:48 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
next = end - 1;
at = 0;
- for (;;)
- {
+ for (;;) {
if (at + next->width > width) {
next++;
break;
-/* $OpenBSD: window-buffer.c,v 1.2 2017/05/31 15:26:41 nicm Exp $ */
+/* $OpenBSD: window-buffer.c,v 1.3 2017/05/31 17:56:48 nicm Exp $ */
/*
* Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com>
screen_write_start(&ctx, NULL, &s);
screen_write_clearscreen(&ctx, 8);
- pdata = end = paste_buffer_data (pb, &psize);
+ pdata = end = paste_buffer_data(pb, &psize);
for (i = 0; i < sy; i++) {
at = 0;
while (end != pdata + psize && *end != '\n') {