diff options
author | 2020-06-02 19:16:46 +0000 | |
---|---|---|
committer | 2020-06-02 19:16:46 +0000 | |
commit | 82328d6d709e835682048ec1c9decdb248f8fe91 (patch) | |
tree | 1a5283c6c42a74dfd7837bef3ce3c20cfcd05fe7 | |
parent | Fire copy-pipe command even if there is no text, means it works if it (diff) | |
download | wireguard-openbsd-82328d6d709e835682048ec1c9decdb248f8fe91.tar.xz wireguard-openbsd-82328d6d709e835682048ec1c9decdb248f8fe91.zip |
Missing ; in previous.
-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) |