1
0
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:
J.-F. Cap 2019-02-08 01:03:21 +01:00
parent 6321c30cb1
commit 8ab60e475a

View File

@ -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;