author | nicm <nicm> | 2008-09-26 06:45:25 (GMT) |
---|---|---|
committer | nicm <nicm> | 2008-09-26 06:45:25 (GMT) |
commit | 19ec0854301171093b1ff57e957e3c991f01540c (patch) (side-by-side diff) | |
tree | c605019bd59c9addd83836bea8ac7d966b9fc399 /cmd-show-buffer.c | |
parent | 275a8b72feea7889a6cd36ee5ffe3020836da5a1 (diff) | |
download | tmux-old-19ec0854301171093b1ff57e957e3c991f01540c.zip tmux-old-19ec0854301171093b1ff57e957e3c991f01540c.tar.gz tmux-old-19ec0854301171093b1ff57e957e3c991f01540c.tar.bz2 |
Trim.
-rw-r--r-- | cmd-show-buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-show-buffer.c b/cmd-show-buffer.c index 3fe1207..5914496 100644 --- a/cmd-show-buffer.c +++ b/cmd-show-buffer.c @@ -68,7 +68,7 @@ cmd_show_buffer_exec(struct cmd *self, struct cmd_ctx *ctx) buf = xmalloc(size + 1); len = 0; - + ptr = pb->data; do { buf[len++] = *ptr++; @@ -83,7 +83,7 @@ cmd_show_buffer_exec(struct cmd *self, struct cmd_ctx *ctx) buf[len] = '\0'; ctx->print(ctx, buf); } - + if (ctx->cmdclient != NULL) server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0); } |