mirror of
https://github.com/janet-lang/janet
synced 2025-12-22 08:18:33 +00:00
Complete adding parser to scripting.
This commit is contained in:
@@ -191,7 +191,7 @@ GstInteger gst_real_to_integer(GstReal x) {
|
||||
}
|
||||
|
||||
GstInteger gst_startrange(GstInteger raw, uint32_t len) {
|
||||
if (raw > len)
|
||||
if (raw >= len)
|
||||
return -1;
|
||||
if (raw < 0)
|
||||
return len + raw;
|
||||
|
||||
Reference in New Issue
Block a user