mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-12-03 01:43:09 +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));
|
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->len = fread(b->buf + i, sizeof(*b->buf), LEN(b->buf) - i, b->f);
|
||||||
|
b->pos = 0;
|
||||||
|
|
||||||
if (b->len != LEN(b->buf)) {
|
if (b->len != LEN(b->buf)) {
|
||||||
if (feof(b->f))
|
if (feof(b->f))
|
||||||
|
Loading…
Reference in New Issue
Block a user