diff options
author | frosch <frosch@openttd.org> | 2011-04-10 16:08:14 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-04-10 16:08:14 +0000 |
commit | fa7c1d8a34dcc93e849a407ab418b13134ab1ba4 (patch) | |
tree | 5fd4f15a5665b43706c139ed36faba1b0288a78b | |
parent | f3ea5524d29e4c9af0c8fcabbf0c594f57791010 (diff) | |
download | openttd-fa7c1d8a34dcc93e849a407ab418b13134ab1ba4.tar.xz |
(svn r22314) -Change: Put NewGRF supplied townnames at the top of the dropdown list.
-rw-r--r-- | src/settings_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp index bf2d87260..12e5a3710 100644 --- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -245,8 +245,8 @@ struct GameOptionsWindow : Window { /* Append newgrf_names at the end of list */ if (newgrf_names.size() > 0) { - list->push_back(new DropDownListItem(-1, false)); // separator line - list->splice(list->end(), newgrf_names); + newgrf_names.push_back(new DropDownListItem(-1, false)); // separator line + list->splice(list->begin(), newgrf_names); } break; } |