From 54371cb6e4479a9b135226359e243ca8665cbe13 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 10 Oct 2009 15:47:35 +0200 Subject: [PATCH] list_window: disable support for second column on --enable-mini --- src/list_window.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/list_window.c b/src/list_window.c index 15ca07a..be4648d 100644 --- a/src/list_window.c +++ b/src/list_window.c @@ -320,6 +320,10 @@ list_window_paint_row(WINDOW *w, unsigned y, unsigned width, unsigned text_width = utf8_width(text); unsigned second_column_width; +#ifdef NCMPC_MINI + second_column = NULL; +#endif /* NCMPC_MINI */ + if (second_column != NULL) { second_column_width = utf8_width(second_column) + 1; if (second_column_width < width) -- 2.30.2