# HG changeset patch # User Matti Hamalainen # Date 1307744065 -10800 # Node ID c53f880837f5617b37bffe8d01ce7d098c1996fa # Parent e7ef3db3b954f294d72b88c4fde52b7496886f5e# Parent 220d7996696a0bd4d2492b73772630126659d006 Merged. diff -r e7ef3db3b954 -r c53f880837f5 nnchat.c --- a/nnchat.c Sat Jun 11 01:10:48 2011 +0300 +++ b/nnchat.c Sat Jun 11 01:14:25 2011 +0300 @@ -1382,7 +1382,6 @@ if (cursesInit) { /* Initialize rest of interactive UI code */ memset(histBuf, 0, sizeof(histBuf)); - memset(histBuf, 0, sizeof(histBuf)); nn_editbuf_clear(editBuf); /* First update of screen */ @@ -1393,7 +1392,6 @@ printMsg(NULL, "%s\n", th_prog_author); printMsg(NULL, "%s\n", th_prog_license); } - /* Enter mainloop */ while (!isError && !exitProg) {