diff options
author | smatz <smatz@openttd.org> | 2009-09-01 14:05:27 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-09-01 14:05:27 +0000 |
commit | 352d07b1b52b6f007df36a9893aaaf99ac48ae49 (patch) | |
tree | d0f9c2b073439bd48aaace65fe638ae906f3661c /src/town_gui.cpp | |
parent | 4c84db16361c17e6c3def857b400b9a974f90d44 (diff) | |
download | openttd-352d07b1b52b6f007df36a9893aaaf99ac48ae49.tar.xz |
(svn r17348) -Fix: don't mix 'sort by' strings used for buttons and dropdowns
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 665568369..b1b192e3c 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -518,8 +518,8 @@ static const NWidgetPart _nested_town_directory_widgets[] = { NWidget(NWID_HORIZONTAL), NWidget(NWID_VERTICAL), NWidget(NWID_HORIZONTAL), - NWidget(WWT_PUSHTXTBTN, COLOUR_BROWN, TDW_SORTNAME), SetMinimalSize(99, 12), SetDataTip(STR_SORT_BY_NAME, STR_TOOLTIP_SORT_ORDER), SetFill(true, false), - NWidget(WWT_PUSHTXTBTN, COLOUR_BROWN, TDW_SORTPOPULATION), SetMinimalSize(97, 12), SetDataTip(STR_SORT_BY_POPULATION, STR_TOOLTIP_SORT_ORDER), SetFill(true, false), + NWidget(WWT_PUSHTXTBTN, COLOUR_BROWN, TDW_SORTNAME), SetMinimalSize(99, 12), SetDataTip(STR_SORT_BY_CAPTION_NAME, STR_TOOLTIP_SORT_ORDER), SetFill(true, false), + NWidget(WWT_PUSHTXTBTN, COLOUR_BROWN, TDW_SORTPOPULATION), SetMinimalSize(97, 12), SetDataTip(STR_SORT_BY_CAPTION_POPULATION, STR_TOOLTIP_SORT_ORDER), SetFill(true, false), EndContainer(), NWidget(WWT_PANEL, COLOUR_BROWN, TDW_CENTERTOWN), SetMinimalSize(196, 164), SetDataTip(0x0, STR_TOWN_DIRECTORY_LIST_TOOLTIP), SetFill(true, false), SetResize(0, 10), EndContainer(), |