+comment.

This commit is contained in:
Nicholas Marriott 2009-01-07 22:29:33 +00:00
parent a3e3051742
commit 4924d8e1e2

View File

@ -1,4 +1,4 @@
/* $Id: status.c,v 1.55 2009-01-06 18:33:32 nicm Exp $ */ /* $Id: status.c,v 1.56 2009-01-07 22:29:33 nicm Exp $ */
/* /*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -473,6 +473,8 @@ status_prompt_key(struct client *c, int key)
size_t size, n, off, idx; size_t size, n, off, idx;
char word[64]; char word[64];
/* XXX This function needs some tidying... */
size = strlen(c->prompt_buffer); size = strlen(c->prompt_buffer);
switch (key) { switch (key) {
case KEYC_LEFT: case KEYC_LEFT: