summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sortlist_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sortlist_type.h b/src/sortlist_type.h
index 1febe5a7d..0d681eb39 100644
--- a/src/sortlist_type.h
+++ b/src/sortlist_type.h
@@ -65,7 +65,7 @@ public: // Temporary: public for conversion only
do {
Swap(*a, *b);
- } while (((a + 1) != b) && (++a != --b));
+ } while (++a < --b);
}
public: