diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-06-02 19:16:47 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-06-02 19:16:47 +0000 |
commit | a2e19d0d8c8eca5961856c2000e71f4fce7aacf6 (patch) | |
tree | c7195248e6e462cfa05ce122ddcc7e9b6e5e9291 /usr.bin/tmux/window-copy.c | |
parent | fb4cf36acfa702abfe5885d7b7f537d290d8bd93 (diff) |
Missing ; in previous.
Diffstat (limited to 'usr.bin/tmux/window-copy.c')
-rw-r--r-- | usr.bin/tmux/window-copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c index 84220de27c3..31af88cd0b0 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.293 2020/06/02 19:10:26 nicm Exp $ */ +/* $OpenBSD: window-copy.c,v 1.294 2020/06/02 19:16:46 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -3721,7 +3721,7 @@ window_copy_get_selection(struct window_mode_entry *wme, size_t *len) /* Don't bother if no data. */ if (off == 0) { free(buf); - *len = 0 + *len = 0; return (NULL); } if (keys == MODEKEY_EMACS || lastex <= ey_last) |