links

lynx-like text mode web browser
git clone anongit@rnpnr.xyz:links.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 6d6710ff9d1a68a30abc54a505157387c8b098fc
Parent: 437d4efda616a7698d601f5f506b2a1d75e7640d
Author: 0x766F6964
Date:   Sat,  8 Aug 2020 21:40:13 -0600

fix small bug introduced in d6fddd7

Diffstat:
Mlinks.h | 4++--
Mmenu.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/links.h b/links.h @@ -1805,8 +1805,8 @@ struct memory_list *getml(void *, ...); void add_to_ml(struct memory_list **, ...); void freeml(struct memory_list *); -#define DIALOG_LB DIALOG_LEFT_BORDER + DIALOG_LEFT_INNER_BORDER + 1 -#define DIALOG_TB DIALOG_TOP_BORDER + DIALOG_TOP_INNER_BORDER + 1 +#define DIALOG_LB (DIALOG_LEFT_BORDER + DIALOG_LEFT_INNER_BORDER + 1) +#define DIALOG_TB (DIALOG_TOP_BORDER + DIALOG_TOP_INNER_BORDER + 1) extern unsigned char m_bar; diff --git a/menu.c b/menu.c @@ -1123,7 +1123,7 @@ static void ssl_options_fn(struct dialog_data *dlg) dlg->yw = y + 2 * DIALOG_TB; center_dlg(dlg); draw_dlg(dlg); - y = dlg->y + DIALOG_TB + 1; + y = dlg->y + DIALOG_TB + 1; dlg_format_checkboxes(dlg, term, dlg->items, dlg->n - 5, dlg->x + DIALOG_LB, &y, w, NULL, dlg->dlg->udata); y++; dlg_format_text_and_field(dlg, term, ssl_labels[dlg->n - 5], dlg->items + dlg->n - 5, dlg->x + DIALOG_LB, &y, w, NULL, COLOR_DIALOG_TEXT, AL_LEFT);