projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a howler with pluralism --- impossible to internationalise
[pspp]
/
src
/
algorithm.c
diff --git
a/src/algorithm.c
b/src/algorithm.c
index 66be93d6b01a0c673ccec491164e53233df6cdb7..ba4413da749f743070a0cddd21a16af32d6fcf3e 100644
(file)
--- a/
src/algorithm.c
+++ b/
src/algorithm.c
@@
-346,7
+346,7
@@
binary_search (const void *array, size_t count, size_t size,
int low = 0;
int high = count - 1;
- while (low < high)
+ while (low <
=
high)
{
int middle = (low + high) / 2;
const unsigned char *element = first + middle * size;