summaryrefslogtreecommitdiffstats
path: root/status.c
diff options
context:
space:
mode:
authornicm <nicm>2014-04-24 09:14:43 +0000
committernicm <nicm>2014-04-24 09:14:43 +0000
commitbec6c807cd580b003cd94b52a20caa2cbc7a0753 (patch)
tree99a3ae9d6e99ceb99da10ff388fa2c4957a505e2 /status.c
parent7ab2690be8a451d123b12906b729e163ea37e0dd (diff)
There is no longer a need for a paste_stack struct or for global_buffers
to be global. Move to paste.c.
Diffstat (limited to 'status.c')
-rw-r--r--status.c2
1 files changed, 1 insertions, 1 deletions
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];