summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-10-11 15:41:55 +0000
committerplanetmaker <planetmaker@openttd.org>2013-10-11 15:41:55 +0000
commit276c41ee1d24a064519c301a9422098412d59e56 (patch)
treeb9d39350ee7f6132f0346ac5e3d8da419fbe579a /src
parentf42dea680eb77c3e4aa4ca4cfb6c2f1070da2248 (diff)
downloadopenttd-276c41ee1d24a064519c301a9422098412d59e56.tar.xz
(svn r25828) -Doc [FS#5785]: Description of parameters for ShowDropDownMenu was partially swapped (3298)
Diffstat (limited to 'src')
-rw-r--r--src/widgets/dropdown.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp
index 4a1ac8f08..fd9d765e8 100644
--- a/src/widgets/dropdown.cpp
+++ b/src/widgets/dropdown.cpp
@@ -453,8 +453,8 @@ void ShowDropDownList(Window *w, DropDownList *list, int selected, int button, u
* @param strings Menu list, end with #INVALID_STRING_ID
* @param selected Index of initial selected item.
* @param button Button widget number of the parent window \a w that wants the dropdown menu.
- * @param disabled_mask Bitmask for disabled items (items with their bit set are not copied to the dropdown list).
- * @param hidden_mask Bitmask for hidden items (items with their bit set are displayed, but not selectable in the dropdown list).
+ * @param disabled_mask Bitmask for disabled items (items with their bit set are displayed, but not selectable in the dropdown list).
+ * @param hidden_mask Bitmask for hidden items (items with their bit set are not copied to the dropdown list).
* @param width Width of the dropdown menu. If \c 0, use the width of parent widget \a button.
*/
void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int button, uint32 disabled_mask, uint32 hidden_mask, uint width)