summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window-copy.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2012-04-01 20:53:48 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2012-04-01 20:53:48 +0000
commit7b7c9157e56baf3d29177a21bec70de714fa4465 (patch)
tree8b2db4f4020d3f18c37ad518e172cbf716c1f16d /usr.bin/tmux/window-copy.c
parent1183b5668486030468b98e11c4abe0d054829223 (diff)
Minor style nits - return ().
Diffstat (limited to 'usr.bin/tmux/window-copy.c')
-rw-r--r--usr.bin/tmux/window-copy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c
index 78788b7a549..825a568c50d 100644
--- a/usr.bin/tmux/window-copy.c
+++ b/usr.bin/tmux/window-copy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-copy.c,v 1.79 2012/04/01 09:23:31 nicm Exp $ */
+/* $OpenBSD: window-copy.c,v 1.80 2012/04/01 20:53:47 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -805,14 +805,14 @@ window_copy_key_numeric_prefix(struct window_pane *wp, int key)
key &= KEYC_MASK_KEY;
if (key < '0' || key > '9')
- return 1;
+ return (1);
if (data->numprefix >= 100) /* no more than three digits */
- return 0;
+ return (0);
data->numprefix = data->numprefix * 10 + key - '0';
window_copy_redraw_lines(wp, screen_size_y(s) - 1, 1);
- return 0;
+ return (0);
}
/* ARGSUSED */