From c43632b2a5b26a96b84e7d7cd8c5f8ecffe4aa32 Mon Sep 17 00:00:00 2001 From: corvid Date: Sun, 10 Aug 2014 00:00:47 +0000 Subject: trim spaces ...now that floats and grows are in the repo and I won't be making Sebastian's life difficult with a bunch of whitespace changes. --- lout/container.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lout/container.cc') diff --git a/lout/container.cc b/lout/container.cc index db1cc560..2dd56255 100644 --- a/lout/container.cc +++ b/lout/container.cc @@ -229,7 +229,7 @@ int Vector::bsearch(Object *key, bool mustExist, int start, int end, int low = start, high = end; bool found = false; - while (!found) { + while (!found) { int index = (low + high) / 2; int c = comparator->compare (key, array[index]); DBG_OBJ_MSGF ("container", 1, @@ -248,14 +248,14 @@ int Vector::bsearch(Object *key, bool mustExist, int start, int end, result = c > 0 ? index + 1 : index; } } - + if (c < 0) high = index - 1; else low = index + 1; } } - } + } DBG_OBJ_MSGF ("container", 1, "result = %d", result); DBG_OBJ_MSG_END (); -- cgit v1.2.3