From 821d05023acd9eecee9c278dbdd13a4e0a485350 Mon Sep 17 00:00:00 2001 From: Michael Czigler <37268479+mcpcpc@users.noreply.github.com> Date: Thu, 15 Jul 2021 21:41:35 -0400 Subject: [PATCH] released at 0.2.9 --- kirc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kirc.c b/kirc.c index b9bb307..10b17d5 100644 --- a/kirc.c +++ b/kirc.c @@ -18,7 +18,7 @@ #include #define CTCP_CMDS "ACTION VERSION TIME CLIENTINFO PING" -#define VERSION "0.2.8" +#define VERSION "0.2.9" #define MSG_MAX 512 #define CHA_MAX 200 #define NIC_MAX 26 @@ -303,7 +303,7 @@ static void refreshLine(struct State *l) { posu8--; } while (txtlenb < lenb && ch++ < l->cols) - txtlenb += u8Next(buf, 0); + txtlenb += u8Next(buf + txtlenb, 0); abInit(&ab); snprintf(seq, sizeof(seq), "\r"); abAppend(&ab, seq, strnlen(seq, MSG_MAX));