aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index cfa920e3..7a9aea3d 100644
--- a/main.c
+++ b/main.c
@@ -40,7 +40,7 @@ struct toy_list *toy_find(char *name)
top = TOY_LIST_LEN-1;
for (;;) {
int result;
-
+
middle = (top+bottom)/2;
if (middle<bottom || middle>top) return NULL;
result = strcmp(name,toy_list[middle].name);