mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-08-18 02:29:58 +02:00
Minor
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user