Mercurial > hg > nnchat
changeset 221:f6160051b72e
Rename a variable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 27 Nov 2010 17:44:18 +0200 |
parents | ec525f2d0040 |
children | a1fefbce0b7a |
files | nnchat.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/nnchat.c Sat Nov 27 17:42:30 2010 +0200 +++ b/nnchat.c Sat Nov 27 17:44:18 2010 +0200 @@ -918,7 +918,7 @@ nn_editbuf_t *editBuf = nn_editbuf_new(NN_TMPBUF_SIZE); nn_editbuf_t *histBuf[SET_MAX_HISTORY+2]; int histPos = 0, histMax = 0; - BOOL first = TRUE; + BOOL firstUpdate = TRUE; cfgitem_t *tmpcfg; char *homeDir = NULL; @@ -1365,11 +1365,11 @@ } } while (c != ERR && !exitProg && ++cnt < 10); - if (update || first) { + if (update || firstUpdate) { /* Update edit line */ printEditBuf(setPrvMode ? setTarget : "", editBuf); updateStatus(insertMode); - first = FALSE; /* a nasty hack ... */ + firstUpdate = FALSE; /* a nasty hack ... */ } } /* !optDaemon */