Changeset - r9375:bddb60776a57
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2008-05-26 21:45:57
smatz@openttd.org
(svn r13279) -Codechange: simplify condition for terminating loop when reversing list order
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/sortlist_type.h
Show inline comments
 
@@ -65,7 +65,7 @@ public: // Temporary: public for convers
 

	
 
		do {
 
			Swap(*a, *b);
 
		} while (((a + 1) != b) && (++a != --b));
 
		} while (++a < --b);
 
	}
 

	
 
public:
0 comments (0 inline, 0 general)