From 95fb3cad63941466e913775a3c080b310d45d13a Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Tue, 4 Nov 2025 17:29:52 -0500 Subject: refactor onfig file and delete word backward --- layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layout.c') diff --git a/layout.c b/layout.c index 76ee1a5..86c4155 100644 --- a/layout.c +++ b/layout.c @@ -53,7 +53,7 @@ void calculate_layout(client_state* state, rect_t* prompt, rect_t* input, rect_t } // calculate page indices - if (recalc_pages && !fancy_scroll) { + if (recalc_pages && !config.fancy_scroll) { state->current_page = 0; array_clear(state->page_indices); @@ -78,7 +78,7 @@ void calculate_layout(client_state* state, rect_t* prompt, rect_t* input, rect_t } if (array_size(state->filtered_items) != 0) { - if (fancy_scroll) { + if (config.fancy_scroll) { // calculate fancy scroll offset if (state->lines) { // calc vertical scroll -- cgit v1.2.3