Mercurial > hg > nnchat
comparison nnchat.c @ 161:6dd282b5f431
Constify.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 04 Nov 2010 14:56:06 +0200 |
parents | d3c78f2ef77b |
children | e59cec397811 |
comparison
equal
deleted
inserted
replaced
160:d3c78f2ef77b | 161:6dd282b5f431 |
---|---|
199 waddstr(statusWin, tmpStr); | 199 waddstr(statusWin, tmpStr); |
200 | 200 |
201 wrefresh(statusWin); | 201 wrefresh(statusWin); |
202 } | 202 } |
203 | 203 |
204 void printEditBuf(char *str, nn_editbuf_t *buf) | 204 void printEditBuf(const char *str, nn_editbuf_t *buf) |
205 { | 205 { |
206 if (statusWin == NULL || buf == NULL) return; | 206 if (statusWin == NULL || buf == NULL) return; |
207 | 207 |
208 buf->data[buf->len] = 0; | 208 buf->data[buf->len] = 0; |
209 werase(editWin); | 209 werase(editWin); |