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

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
mannol
2014-07-27 01:50:06 +02:00
5 changed files with 9 additions and 6 deletions

View File

@ -112,7 +112,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);