summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/settings_gui.cpp4
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;
}