tmux: import from packages, update to latest

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
This commit is contained in:
Maxim Storchak
2014-06-14 07:55:27 +03:00
parent 13d6e6f3b4
commit 0baba8b1f5
4 changed files with 84 additions and 0 deletions
@@ -0,0 +1,13 @@
diff --git a/tty.c b/tty.c
index eb2511c..576edbc 100644
--- a/tty.c
+++ b/tty.c
@@ -1067,7 +1067,7 @@ tty_cmd_setselection(struct tty *tty, const struct tty_ctx *ctx)
off = 4 * ((ctx->num + 2) / 3) + 1; /* storage for base64 */
buf = xmalloc(off);
- b64_ntop(ctx->ptr, ctx->num, buf, off);
+ local_b64_ntop(ctx->ptr, ctx->num, buf, off);
tty_putcode_ptr2(tty, TTYC_MS, "", buf);
free(buf);