diff options
author | Michael Czigler <37268479+mcpcpc@users.noreply.github.com> | 2021-07-15 21:41:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 21:41:35 -0400 |
commit | 821d05023acd9eecee9c278dbdd13a4e0a485350 (patch) | |
tree | c9dcf101c5e319c92c2d1793660dc937cd3324d4 /kirc.c | |
parent | released at 0.2.8 (diff) | |
download | kirc-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 'kirc.c')
-rw-r--r-- | kirc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)); |