--- a/industry_gui.c Thu Dec 30 09:46:40 2004 +0000
+++ b/industry_gui.c Thu Dec 30 10:03:35 2004 +0000
@@ -458,7 +458,7 @@
Industry *i;
int n = 0, index = 0;
- for(i=_industries; i != endof(_industries); i++) {
+ FOR_ALL_INDUSTRIES(i) {
if(i->xy)
_industry_sort[n++] = index;