equal
deleted
inserted
replaced
391 _num_town_sort = n; |
391 _num_town_sort = n; |
392 |
392 |
393 _last_town_idx = 255; // used for "cache" |
393 _last_town_idx = 255; // used for "cache" |
394 qsort(_town_sort, n, 1, _town_sort_order & 2 ? TownSorterByPop : TownSorterByName); |
394 qsort(_town_sort, n, 1, _town_sort_order & 2 ? TownSorterByPop : TownSorterByName); |
395 |
395 |
396 //DEBUG(misc, 1) ("Resorting Towns list..."); |
396 DEBUG(misc, 1) ("Resorting Towns list..."); |
397 } |
397 } |
398 |
398 |
399 |
399 |
400 static void TownDirectoryWndProc(Window *w, WindowEvent *e) |
400 static void TownDirectoryWndProc(Window *w, WindowEvent *e) |
401 { |
401 { |