From bec6c807cd580b003cd94b52a20caa2cbc7a0753 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 24 Apr 2014 09:14:43 +0000 Subject: There is no longer a need for a paste_stack struct or for global_buffers to be global. Move to paste.c. --- status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'status.c') diff --git a/status.c b/status.c index acbf278e..4ea42f1c 100644 --- a/status.c +++ b/status.c @@ -1157,7 +1157,7 @@ status_prompt_key(struct client *c, int key) c->flags |= CLIENT_STATUS; break; case MODEKEYEDIT_PASTE: - if ((pb = paste_get_top(&global_buffers)) == NULL) + if ((pb = paste_get_top()) == NULL) break; for (n = 0; n < pb->size; n++) { ch = (u_char) pb->data[n]; -- cgit v1.2.3