From: Scott Moynes Date: Wed, 14 Aug 2002 20:55:35 +0000 (+0000) Subject: oops. buglet. extra for loop X-Git-Tag: openbox-2_0_0~45 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=d856db568a5933555191a35778dfa9cf0f619f8f;p=dana%2Fopenbox.git oops. buglet. extra for loop --- diff --git a/util/epist/screen.cc b/util/epist/screen.cc index d767c268..7ac5780b 100644 --- a/util/epist/screen.cc +++ b/util/epist/screen.cc @@ -499,8 +499,7 @@ void screen::cycleWindow(const bool forward, const int increment, } else { if (target == begin) target = end; - for (int x = 0; x < increment; ++x) - --target; + --target; } // must be no window to focus