mirror of
https://github.com/janet-lang/janet
synced 2024-12-01 04:19:55 +00:00
typo in janet_indexed_view
(no consequence but look strange)
This commit is contained in:
parent
6321c30cb1
commit
8ab60e475a
@ -316,7 +316,7 @@ int janet_indexed_view(Janet seq, const Janet **data, int32_t *len) {
|
||||
return 1;
|
||||
} else if (janet_checktype(seq, JANET_TUPLE)) {
|
||||
*data = janet_unwrap_tuple(seq);
|
||||
*len = janet_tuple_length(janet_unwrap_struct(seq));
|
||||
*len = janet_tuple_length(janet_unwrap_tuple(seq));
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user