mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
tests (except exceptions and ostap additional logs print) are passed
This commit is contained in:
parent
4d7afdeae0
commit
d8eb21c066
4 changed files with 27 additions and 20 deletions
|
|
@ -328,7 +328,7 @@ static inline void **var_by_category(enum VarCategory category, size_t id) {
|
|||
s_failure(&s,
|
||||
"can't read arguments: too big id"); //, %i >= %ul", id, count);
|
||||
}
|
||||
return ((void **)d->contents) + count - id; // order is not important
|
||||
return ((void **)d->contents) + id + 1; // order is not important
|
||||
}
|
||||
|
||||
return var;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue