equal
deleted
inserted
replaced
169 } plstations_d; |
169 } plstations_d; |
170 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(plstations_d)); |
170 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(plstations_d)); |
171 |
171 |
172 void RebuildStationLists(void) |
172 void RebuildStationLists(void) |
173 { |
173 { |
174 Window *w; |
174 Window *w = NULL; |
175 |
175 |
176 FOR_ALL_WINDOWS(w) { |
176 FOR_ALL_WINDOWS(w) { |
177 if (w->window_class == WC_STATION_LIST) { |
177 if (w->window_class == WC_STATION_LIST) { |
178 WP(w, plstations_d).flags |= SL_REBUILD; |
178 WP(w, plstations_d).flags |= SL_REBUILD; |
179 w->SetDirty(); |
179 w->SetDirty(); |
181 } |
181 } |
182 } |
182 } |
183 |
183 |
184 void ResortStationLists(void) |
184 void ResortStationLists(void) |
185 { |
185 { |
186 Window *w; |
186 Window *w = NULL; |
187 |
187 |
188 FOR_ALL_WINDOWS(w) { |
188 FOR_ALL_WINDOWS(w) { |
189 if (w->window_class == WC_STATION_LIST) { |
189 if (w->window_class == WC_STATION_LIST) { |
190 WP(w, plstations_d).flags |= SL_RESORT; |
190 WP(w, plstations_d).flags |= SL_RESORT; |
191 w->SetDirty(); |
191 w->SetDirty(); |