mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-12-01 00:43:08 +01:00
Minor
This commit is contained in:
parent
6900c4c9fa
commit
4ff1c04c80
@ -79,8 +79,8 @@ static int peekn_char(Lexer *ctx, unsigned int i)
|
||||
memmove(b->buf, b->buf + (b->len - i), i * sizeof(*b->buf));
|
||||
}
|
||||
|
||||
b->pos = 0;
|
||||
b->len = fread(b->buf + i, sizeof(*b->buf), LEN(b->buf) - i, b->f);
|
||||
b->pos = 0;
|
||||
|
||||
if (b->len != LEN(b->buf)) {
|
||||
if (feof(b->f))
|
||||
|
Loading…
Reference in New Issue
Block a user