mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(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
Block a user