# HG changeset patch # User Matti Hamalainen # Date 1288727334 -7200 # Node ID cce05daf6f01ada242c5f46c6eacfbd060a50616 # Parent 2d2ef5bbcc11ff12a863391f19b9402843a743c3 Cosmetics. diff -r 2d2ef5bbcc11 -r cce05daf6f01 nnchat.c --- a/nnchat.c Tue Nov 02 21:48:24 2010 +0200 +++ b/nnchat.c Tue Nov 02 21:48:54 2010 +0200 @@ -25,8 +25,8 @@ #define SET_DIR_SEPARATOR "/" #endif -#define SET_MAX_BACKBUF (1024) -#define SET_MAX_HISTORY (16) +#define SET_MIN_BACKBUF (1024) /* Backbuffer size (in lines) */ +#define SET_MAX_HISTORY (16) /* Command history length */ #define SET_DELAY (15) #define SET_DELAY_USEC (SET_DELAY * 250) #define SET_KEEPALIVE (15*60) /* Ping/keepalive period in seconds */ @@ -224,7 +224,7 @@ { const char *s = fmt; int col = 0; - + while (*s) { if (*s == '½') { int val = 0;