summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-19 18:01:24 +0000
committerrubidium <rubidium@openttd.org>2009-11-19 18:01:24 +0000
commit30f7483f9c655d2f1454b69cbe7c7b02f691c1d6 (patch)
tree05b99820e2626fd66b7bdc6bf7b188c798ad322a /src/widgets
parent64d65cc635c8ef99689dcc5096c7ccb66b6b72f1 (diff)
downloadopenttd-30f7483f9c655d2f1454b69cbe7c7b02f691c1d6.tar.xz
(svn r18188) -Codechange: s/NWID_BUTTON_DRPDOWN/NWID_BUTTON_DROPDOWN/g
Diffstat (limited to 'src/widgets')
-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 ee3c929dd..d8f489fc4 100644
--- a/src/widgets/dropdown.cpp
+++ b/src/widgets/dropdown.cpp
@@ -162,7 +162,7 @@ struct DropdownWindow : Window {
if (w2 != NULL) {
if (w2->nested_array != NULL) {
NWidgetCore *nwi2 = w2->GetWidget<NWidgetCore>(this->parent_button);
- if (nwi2->type == NWID_BUTTON_DRPDOWN) {
+ if (nwi2->type == NWID_BUTTON_DROPDOWN) {
nwi2->disp_flags &= ~ND_DROPDOWN_ACTIVE;
} else {
w2->RaiseWidget(this->parent_button);
@@ -333,7 +333,7 @@ void ShowDropDownList(Window *w, DropDownList *list, int selected, int button, u
wi_rect.bottom = nwi->pos_y + nwi->current_y - 1;
wi_colour = nwi->colour;
- if (nwi->type == NWID_BUTTON_DRPDOWN) {
+ if (nwi->type == NWID_BUTTON_DROPDOWN) {
nwi->disp_flags |= ND_DROPDOWN_ACTIVE;
} else {
w->LowerWidget(button);