diff options
author | Max Kellermann <max@duempel.org> | 2008-09-25 17:40:28 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-25 17:40:28 +0200 |
commit | 0fd4d0c99d31b69356c289d3bb1dcd791b898028 (patch) | |
tree | ce3893e184b03ec5c63859e1fc1ffe889eacc8e1 /src/list_window.c | |
parent | 6fabb44f8b5d9615fd316bac87133d4b5ce69a3b (diff) | |
download | mpd-0fd4d0c99d31b69356c289d3bb1dcd791b898028.tar.gz mpd-0fd4d0c99d31b69356c289d3bb1dcd791b898028.tar.xz mpd-0fd4d0c99d31b69356c289d3bb1dcd791b898028.zip |
code style, indent with tabs X
Follow the same code style als MPD itself.
Diffstat (limited to '')
-rw-r--r-- | src/list_window.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 && len<lw->cols ) + if (fill && len < lw->cols) whline(lw->w, ' ', lw->cols-len); - if( selected ) + if (selected) wattroff(lw->w, A_REVERSE); } } |