1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 10:46:45 +02:00

proper commandline args

This commit is contained in:
Jfreegman
2014-06-07 14:36:37 -04:00
parent bfa266c604
commit 8c5ac1f77d
3 changed files with 87 additions and 36 deletions

View File

@ -128,7 +128,7 @@ void rm_trailing_spaces_buf(ChatContext *ctx)
}
ctx->len = i + 1;
ctx->pos = MIN(ctx->pos, i + 1);
ctx->pos = MIN(ctx->pos, ctx->len);
ctx->line[ctx->len] = L'\0';
}