aboutsummaryrefslogtreecommitdiff
path: root/dw/iterator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/iterator.cc')
-rw-r--r--dw/iterator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/iterator.cc b/dw/iterator.cc
index 51b49125..b986559e 100644
--- a/dw/iterator.cc
+++ b/dw/iterator.cc
@@ -121,7 +121,7 @@ void Iterator::scrollTo (Iterator *it1, Iterator *it2, int start, int end,
y1 = INT_MAX;
y2 = INT_MIN;
- for (eit3 = (DeepIterator*)eit1->clone (), atStart = true;
+ for (atStart = true, eit3 = (DeepIterator*)eit1->clone ();
(cmp = eit3->compareTo (eit2)) <= 0;
eit3->next (), atStart = false) {
if (atStart)