]> Dogcows Code - chaz/openbox/blobdiff - util/epist/screen.cc
oops. buglet. extra for loop
[chaz/openbox] / 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.019537 seconds and 4 git commands to generate.