(svn r18188) -Codechange: s/NWID_BUTTON_DRPDOWN/NWID_BUTTON_DROPDOWN/g
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user