aboutsummaryrefslogtreecommitdiffstats
path: root/kirc.c
diff options
context:
space:
mode:
authorMichael Czigler <37268479+mcpcpc@users.noreply.github.com>2021-07-15 21:41:35 -0400
committerGitHub <noreply@github.com>2021-07-15 21:41:35 -0400
commit821d05023acd9eecee9c278dbdd13a4e0a485350 (patch)
treec9dcf101c5e319c92c2d1793660dc937cd3324d4 /kirc.c
parentreleased at 0.2.8 (diff)
downloadkirc-821d05023acd9eecee9c278dbdd13a4e0a485350.tar.gz
kirc-821d05023acd9eecee9c278dbdd13a4e0a485350.tar.bz2
kirc-821d05023acd9eecee9c278dbdd13a4e0a485350.tar.xz
kirc-821d05023acd9eecee9c278dbdd13a4e0a485350.tar.zst
kirc-821d05023acd9eecee9c278dbdd13a4e0a485350.zip
released at 0.2.9
Diffstat (limited to '')
-rw-r--r--kirc.c4
1 files 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 <sys/ioctl.h>
#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));