diff options
author | David Robillard <d@drobilla.net> | 2020-12-31 20:28:54 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-31 20:28:54 +0100 |
commit | 5edd99c6619328b479ecf25c21997b133e7c6dee (patch) | |
tree | 5a497bf4987b8432e073bacc7c9ed31d807408f5 /src/sorted_array.c | |
parent | 53e9bd0f9ea02c47510a47ab37901f2a284a3632 (diff) | |
download | zix-5edd99c6619328b479ecf25c21997b133e7c6dee.tar.gz zix-5edd99c6619328b479ecf25c21997b133e7c6dee.tar.bz2 zix-5edd99c6619328b479ecf25c21997b133e7c6dee.zip |
Fix zix_sorted_array_iter_is_end()
Diffstat (limited to 'src/sorted_array.c')
-rw-r--r-- | src/sorted_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sorted_array.c b/src/sorted_array.c index 72a024c..eb48fe1 100644 --- a/src/sorted_array.c +++ b/src/sorted_array.c @@ -183,7 +183,7 @@ zix_sorted_array_end(ZixSortedArray* a) bool zix_sorted_array_iter_is_end(ZixSortedArray* a, ZixSortedArrayIter i) { - return i != zix_sorted_array_end(a); + return i >= zix_sorted_array_end(a); } ZixSortedArrayIter |