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