mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 14:12:36 +00:00
lex.c -> lex_init s/lex->line = 0/lex->line = 1/
This commit is contained in:
parent
37ff28a3b5
commit
f697a5f999
1 changed files with 1 additions and 1 deletions
2
lex.c
2
lex.c
|
@ -48,7 +48,7 @@ void lex_init(const char *file, lex_file **set) {
|
|||
lex->size = lex->length; /* copy, this is never changed */
|
||||
fseek(lex->file, 0, SEEK_SET);
|
||||
lex->last = 0;
|
||||
lex->line = 0;
|
||||
lex->line = 1;
|
||||
|
||||
memset(lex->peek, 0, sizeof(lex->peek));
|
||||
*set = lex;
|
||||
|
|
Loading…
Reference in a new issue