equal
deleted
inserted
replaced
106 for (i = &_num_station_sort[1]; i != endof(_num_station_sort); i++) {*i += *(i-1);} |
106 for (i = &_num_station_sort[1]; i != endof(_num_station_sort); i++) {*i += *(i-1);} |
107 |
107 |
108 _last_station_idx = 255; // used for "cache" |
108 _last_station_idx = 255; // used for "cache" |
109 qsort(_station_sort, n, sizeof(_station_sort[0]), StationSorterByName); |
109 qsort(_station_sort, n, sizeof(_station_sort[0]), StationSorterByName); |
110 |
110 |
111 //DEBUG(misc, 1) ("Resorting Stations list..."); |
111 DEBUG(misc, 1) ("Resorting Stations list..."); |
112 } |
112 } |
113 |
113 |
114 static void PlayerStationsWndProc(Window *w, WindowEvent *e) |
114 static void PlayerStationsWndProc(Window *w, WindowEvent *e) |
115 { |
115 { |
116 switch(e->event) { |
116 switch(e->event) { |