Mercurial > hg > nnchat
changeset 286:220d7996696a
Remove backbuffer for now.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 10 Jun 2011 00:06:00 +0300 |
parents | dbf07a4eadd7 |
children | c53f880837f5 |
files | nnchat.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/nnchat.c Thu Jun 09 22:35:12 2011 +0300 +++ b/nnchat.c Fri Jun 10 00:06:00 2011 +0300 @@ -1067,8 +1067,6 @@ nn_editbuf_t *histBuf[SET_MAX_HISTORY+2]; int histPos = 0, histMax = 0; - nn_ringbuf_t *backBuf; - cfgitem_t *tmpcfg; char *homeDir = NULL; @@ -1279,7 +1277,6 @@ if (cursesInit) { /* Initialize rest of interactive UI code */ memset(histBuf, 0, sizeof(histBuf)); - backBuf = nn_ringbuf_new(SET_BACKBUF_LEN); nn_editbuf_clear(editBuf); /* First update of screen */ @@ -1599,7 +1596,6 @@ /* Shutdown */ err_exit: nn_userhash_free(nnUsers); - nn_ringbuf_free(backBuf); nn_editbuf_free(editBuf); for (histPos = 0; histPos <= SET_MAX_HISTORY; histPos++) nn_editbuf_free(histBuf[histPos]);