summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-28 14:42:35 +0000
committerrubidium <rubidium@openttd.org>2009-11-28 14:42:35 +0000
commit293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 (patch)
tree4fc72c84fc5875eb2719f9a9cbf4d9a458fb2f12 /src/widgets
parentb58b058e2b254cb375ebc2ec67c1ac307e6aeb87 (diff)
downloadopenttd-293dfd7c3e754b846b745d80fa4ca6795b9f7ed0.tar.xz
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/dropdown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp
index d42c54386..547521754 100644
--- a/src/widgets/dropdown.cpp
+++ b/src/widgets/dropdown.cpp
@@ -83,7 +83,7 @@ static const NWidgetPart _nested_dropdown_menu_widgets[] = {
};
const WindowDesc _dropdown_desc(
- WDP_MANUAL, WDP_MANUAL, 0, 0, // x/y position not used.
+ WDP_MANUAL, 0, 0,
WC_DROPDOWN_MENU, WC_NONE,
0,
_nested_dropdown_menu_widgets, lengthof(_nested_dropdown_menu_widgets)