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:
@ -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';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user