summaryrefslogtreecommitdiff
path: root/src/choose_hill.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/choose_hill.cxx')
-rw-r--r--src/choose_hill.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/choose_hill.cxx b/src/choose_hill.cxx
index 7f59d68..c83d8b1 100644
--- a/src/choose_hill.cxx
+++ b/src/choose_hill.cxx
@@ -15,7 +15,7 @@ choose_hill(const Hills *hills, const char *l) {
Hills *h_sort = new Hills(hills);
Hill *ret;
- h_sort->sort_name();
+ h_sort->sort(Hills::SORT_NAME);
for (int i=0; i<h_sort->get_num(); i++) {
char buf[256];