mirror of https://github.com/OpenTTD/OpenTTD
(svn r13279) -Codechange: simplify condition for terminating loop when reversing list order
parent
88f2ef652e
commit
a7761332f6
|
@ -65,7 +65,7 @@ public: // Temporary: public for conversion only
|
||||||
|
|
||||||
do {
|
do {
|
||||||
Swap(*a, *b);
|
Swap(*a, *b);
|
||||||
} while (((a + 1) != b) && (++a != --b));
|
} while (++a < --b);
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue