summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/epist/screen.cc3
1 files changed, 1 insertions, 2 deletions
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