From 0fd4d0c99d31b69356c289d3bb1dcd791b898028 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 25 Sep 2008 17:40:28 +0200 Subject: code style, indent with tabs X Follow the same code style als MPD itself. --- src/list_window.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/list_window.c') diff --git a/src/list_window.c b/src/list_window.c index cce992d86..5a4ccf36d 100644 --- a/src/list_window.c +++ b/src/list_window.c @@ -196,20 +196,20 @@ list_window_paint(struct list_window *lw, int selected = lw->start + i == lw->selected; size_t len = my_strlen(label); - if( highlight ) + if (highlight) colors_use(lw->w, COLOR_LIST_BOLD); else colors_use(lw->w, COLOR_LIST); - if( show_cursor && selected ) + if (show_cursor && selected) wattron(lw->w, A_REVERSE); //waddnstr(lw->w, label, lw->cols); waddstr(lw->w, label); - if( fill && lencols ) + if (fill && len < lw->cols) whline(lw->w, ' ', lw->cols-len); - if( selected ) + if (selected) wattroff(lw->w, A_REVERSE); } } -- cgit v1.2.3