]> Dogcows Code - chaz/openbox/commitdiff
oops. buglet. extra for loop
authorScott Moynes <smoynes@nexus.carleton.ca>
Wed, 14 Aug 2002 20:55:35 +0000 (20:55 +0000)
committerScott Moynes <smoynes@nexus.carleton.ca>
Wed, 14 Aug 2002 20:55:35 +0000 (20:55 +0000)
util/epist/screen.cc

index d767c268136460746db411b83b4bee3e6fc14040..7ac5780b1c59f4ce62543e029fee4e6496d7608f 100644 (file)
@@ -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
This page took 0.026704 seconds and 4 git commands to generate.