1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 13:26:44 +02:00

change online/offline symbols

This commit is contained in:
Jfreegman
2014-07-26 19:16:07 -04:00
parent 02b192d6ee
commit 3cae1d92cd
5 changed files with 9 additions and 6 deletions

View File

@ -111,7 +111,7 @@ int yank_buf(ChatContext *ctx)
if (!ctx->yank[0])
return -1;
if (ctx->yank_len + ctx->len >= MAX_STR_SIZE - 1)
if (ctx->yank_len + ctx->len >= MAX_STR_SIZE)
return -1;
wmemmove(&ctx->line[ctx->pos + ctx->yank_len], &ctx->line[ctx->pos], ctx->len - ctx->pos);