changeset 14937:205fdbada4d7 draft

(svn r19540) -Feature: Sort the ratings of a station by cargo class / name.
author terkhen <terkhen@openttd.org>
date Fri, 02 Apr 2010 12:26:20 +0000
parents 58044b15c59e
children 80b5c3338f03
files src/station_gui.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -1128,7 +1128,7 @@
 		y += FONT_HEIGHT_NORMAL;
 
 		const CargoSpec *cs;
-		FOR_ALL_CARGOSPECS(cs) {
+		FOR_ALL_SORTED_CARGOSPECS(cs) {
 			const GoodsEntry *ge = &st->goods[cs->Index()];
 			if (!HasBit(ge->acceptance_pickup, GoodsEntry::PICKUP)) continue;