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 +++--- lout/misc.hh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lout') 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 (); diff --git a/lout/misc.hh b/lout/misc.hh index cac3da77..7edf83c1 100644 --- a/lout/misc.hh +++ b/lout/misc.hh @@ -440,7 +440,7 @@ public: // The original assertion /// // "assert (i < this->numMain + this->numExtra)" - // + // // causes this warnung in dw::Textblock::breakAdded: // // "assuming signed overflow does not occur when assuming that -- cgit v1.2.3