Mercurial > hg > openttd
changeset 17550:e80129e532c7 draft
(svn r22314) -Change: Put NewGRF supplied townnames at the top of the dropdown list.
author | frosch <frosch@openttd.org> |
---|---|
date | Sun, 10 Apr 2011 16:08:14 +0000 |
parents | 95acd4a68214 |
children | 8fb428581ca6 |
files | src/settings_gui.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -245,8 +245,8 @@ /* 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; }