add missing else

master
orange 11 years ago
parent 457e00f4fe
commit f1d1727bf6

@ -29,7 +29,7 @@ int binsearchr(int array[], int from, int to, int target) {
if (array[m] == target) { if (array[m] == target) {
return m; return m;
} if (array[m] > target) { } else if (array[m] > target) {
return binsearchr(array, from, m-1, target); return binsearchr(array, from, m-1, target);
} else { } else {
/* array[m] < target */ /* array[m] < target */

Loading…
Cancel
Save