Mercurial > hg > nnchat
changeset 57:e93532b9dca1
Highlight username differently.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 11 Nov 2008 21:16:11 +0200 |
parents | 7b9049defee3 |
children | 5455d078bedd |
files | nnchat.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/nnchat.c Tue Nov 11 10:59:08 2008 +0200 +++ b/nnchat.c Tue Nov 11 21:16:11 2008 +0200 @@ -939,7 +939,7 @@ th_free(t); t = h; h = tab2str(morseTab, sizeof(morseTab) / sizeof(morseTab[0]), t); } - printMsg("½5½<½15½%s½5½>½0½ %s\n", p, h); + printMsg("½5½<½%d½%s½5½>½0½ %s\n", strcmp(p, optUserName) ? 15 : 14, p, h); th_free(h); th_free(t); }