Skip to content

Commit 821d050

Browse files
authored
released at 0.2.9
1 parent 7197cb0 commit 821d050

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kirc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <sys/ioctl.h>
1919

2020
#define CTCP_CMDS "ACTION VERSION TIME CLIENTINFO PING"
21-
#define VERSION "0.2.8"
21+
#define VERSION "0.2.9"
2222
#define MSG_MAX 512
2323
#define CHA_MAX 200
2424
#define NIC_MAX 26
@@ -303,7 +303,7 @@ static void refreshLine(struct State *l) {
303303
posu8--;
304304
}
305305
while (txtlenb < lenb && ch++ < l->cols)
306-
txtlenb += u8Next(buf, 0);
306+
txtlenb += u8Next(buf + txtlenb, 0);
307307
abInit(&ab);
308308
snprintf(seq, sizeof(seq), "\r");
309309
abAppend(&ab, seq, strnlen(seq, MSG_MAX));

0 commit comments

Comments
 (0)