diff options
author | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:26 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-15 12:27:26 +0200 |
commit | 6d3b7cdd62d798521d73ac58d57bd67061d64ba5 (patch) | |
tree | 196aff7bf983541fd2519ca40b92dbeb7acec8b3 /src/screen_utils.c | |
parent | 1cd28efa96dbc3d49a43d9b12c5b65d493baf949 (diff) | |
download | mpd-6d3b7cdd62d798521d73ac58d57bd67061d64ba5.tar.gz mpd-6d3b7cdd62d798521d73ac58d57bd67061d64ba5.tar.xz mpd-6d3b7cdd62d798521d73ac58d57bd67061d64ba5.zip |
code style, indent with tabs
Follow the same code style als MPD itself. This patch only fixes
parts of the code which are going to be touched in the following bunch
of patches, i.e. there will be more "code style" patches in the
future.
Diffstat (limited to '')
-rw-r--r-- | src/screen_utils.c | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/screen_utils.c b/src/screen_utils.c index 40f73e63b..a5ccd58f4 100644 --- a/src/screen_utils.c +++ b/src/screen_utils.c @@ -80,8 +80,8 @@ screen_getch(WINDOW *w, char *prompt) } char * -screen_readln(WINDOW *w, - char *prompt, +screen_readln(WINDOW *w, + char *prompt, char *value, GList **history, GCompletion *gcmp) @@ -139,9 +139,9 @@ _screen_auth(mpdclient_t *c, gint recursion) gint screen_auth(mpdclient_t *c) { - _screen_auth(c, 0); - mpdclient_update(c); - curs_set(0); + _screen_auth(c, 0); + mpdclient_update(c); + curs_set(0); } /* query user for a string and find it in a list window */ @@ -153,16 +153,15 @@ screen_find(screen_t *screen, list_window_callback_fn_t callback_fn, void *callback_data) { - int reversed = 0; - int retval = 0; - char *prompt = FIND_PROMPT; - char *value = options.find_show_last_pattern ? (char *) -1 : NULL; + int reversed = 0; + int retval = 0; + char *prompt = FIND_PROMPT; + char *value = options.find_show_last_pattern ? (char *) -1 : NULL; - if( findcmd==CMD_LIST_RFIND ||findcmd==CMD_LIST_RFIND_NEXT ) - { - prompt = RFIND_PROMPT; - reversed = 1; - } + if (findcmd == CMD_LIST_RFIND || findcmd == CMD_LIST_RFIND_NEXT) { + prompt = RFIND_PROMPT; + reversed = 1; + } switch(findcmd) { |