File diff r23552:91d98b9489aa → r23553:9f01781fc43d
src/engine_gui.cpp
Show inline comments
 
@@ -325,7 +325,7 @@ void DrawVehicleEngine(int left, int rig
 
 */
 
void EngList_Sort(GUIEngineList *el, EngList_SortTypeFunction compare)
 
{
 
	uint size = el->size();
 
	size_t size = el->size();
 
	/* out-of-bounds access at the next line for size == 0 (even with operator[] at some systems)
 
	 * generally, do not sort if there are less than 2 items */
 
	if (size < 2) return;