summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-11-28 09:56:26 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-11-28 09:56:26 +0000
commit5182cbfbc4ebc628df0351ad32bf8b9f5a3cc9d6 (patch)
tree635484b87988e0dc0d846d57ea7f3ad7b974625f /usr.bin
parent699ccf7099cc83b40b031690ef3734d9e22d41c5 (diff)
Long lines and spacing fixes.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/server-client.c5
-rw-r--r--usr.bin/tmux/tmux.h6
-rw-r--r--usr.bin/tmux/tty-term.c5
-rw-r--r--usr.bin/tmux/tty.c5
4 files changed, 12 insertions, 9 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c
index 71bc1e33343..1647ea0a365 100644
--- a/usr.bin/tmux/server-client.c
+++ b/usr.bin/tmux/server-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-client.c,v 1.297 2019/11/28 09:45:16 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.298 2019/11/28 09:56:25 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -543,7 +543,8 @@ have_event:
where = STATUS_RIGHT;
break;
case STYLE_RANGE_WINDOW:
- wl = winlink_find_by_index(&s->windows, sr->argument);
+ wl = winlink_find_by_index(&s->windows,
+ sr->argument);
if (wl == NULL)
return (KEYC_UNKNOWN);
m->w = wl->window->id;
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index cafbf326ced..d04608cfefa 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.935 2019/11/28 09:45:16 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.936 2019/11/28 09:56:25 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1244,8 +1244,8 @@ struct tty_ctx {
const struct grid_cell *cell;
int wrapped;
- u_int num;
- void *ptr;
+ u_int num;
+ void *ptr;
/*
* Cursor and region position before the screen was updated - this is
diff --git a/usr.bin/tmux/tty-term.c b/usr.bin/tmux/tty-term.c
index 609d1151cf7..3835454505d 100644
--- a/usr.bin/tmux/tty-term.c
+++ b/usr.bin/tmux/tty-term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty-term.c,v 1.68 2019/10/03 10:24:06 nicm Exp $ */
+/* $OpenBSD: tty-term.c,v 1.69 2019/11/28 09:56:25 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -636,7 +636,8 @@ tty_term_string2(struct tty_term *term, enum tty_code_code code, int a, int b)
}
const char *
-tty_term_string3(struct tty_term *term, enum tty_code_code code, int a, int b, int c)
+tty_term_string3(struct tty_term *term, enum tty_code_code code, int a, int b,
+ int c)
{
return (tparm((char *) tty_term_string(term, code), a, b, c));
}
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index d81e7ea5e0b..fdc4f690b17 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.334 2019/11/28 09:05:34 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.335 2019/11/28 09:56:25 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -2454,7 +2454,8 @@ tty_check_bg(struct tty *tty, struct window_pane *wp, struct grid_cell *gc)
}
static void
-tty_check_us(__unused struct tty *tty, struct window_pane *wp, struct grid_cell *gc)
+tty_check_us(__unused struct tty *tty, struct window_pane *wp,
+ struct grid_cell *gc)
{
int c;