diff --git a/lib/widget/quick.c b/lib/widget/quick.c index 1930c6109..8be8c493b 100644 --- a/lib/widget/quick.c +++ b/lib/widget/quick.c @@ -429,7 +429,6 @@ quick_dialog_skip (quick_dialog_t *quick_dlg, int nskip) WRect *r; item = &g_array_index (widgets, quick_widget_item_t, i); - r = &item->widget->rect; column_width = two_columns ? width2 : width1; /* adjust widget width and x position */ @@ -448,6 +447,7 @@ quick_dialog_skip (quick_dialog_t *quick_dlg, int nskip) MC_FALLTHROUGH; case quick_checkbox: case quick_radio: + r = &item->widget->rect; if (r->x != x1) r->x = x2; if (g != NULL) @@ -455,6 +455,7 @@ quick_dialog_skip (quick_dialog_t *quick_dlg, int nskip) break; case quick_button: + r = &item->widget->rect; if (!put_buttons) { if (r->x != x1) @@ -477,6 +478,8 @@ quick_dialog_skip (quick_dialog_t *quick_dlg, int nskip) if (g != NULL) width -= 4; + r = &item->widget->rect; + switch (item->quick_widget->u.input.label_location) { case input_label_left: @@ -511,6 +514,7 @@ quick_dialog_skip (quick_dialog_t *quick_dlg, int nskip) case quick_start_groupbox: g = GROUPBOX (item->widget); + r = &item->widget->rect; if (r->x != x1) r->x = x2; r->cols = column_width; @@ -523,6 +527,8 @@ quick_dialog_skip (quick_dialog_t *quick_dlg, int nskip) case quick_separator: if (item->widget != NULL) { + r = &item->widget->rect; + if (g != NULL) { Widget *wg = WIDGET (g);